git clone https://github.com/thebridsk/utilities.git
Use pull requests. Travis CI is used to test all pull requests prior to merging.
To release a new version, the current branch must be main, the workspace must be clean. The release branch must not exist.
To create the release, execute:
sbt release
- Java 1.8
- Scala 2.12.10
- SBT 1.3.2
Optional:
-
In the SBT install, edit the file
conf/sbtconfig.txtand make the following changes:- Change
-Xmxoption to-Xmx=4096M. 512m is not enough. - Comment out
-XX:MaxPermSize=256m. Doesn't exist in Java 1.8 anymore.
- Change
-
If you update SBT, you may need to clean out the
~/.sbtdirectory. Make sure you saveglobal.sbt,plugins.sbtand any other configuration files. -
Copy the files in
setup/sbt/0.13to~/.sbt/0.13. This has aglobal.sbt,plugins.sbtfiles with plugins that are nice to have.
Install the scalametals extension. Add sbt, Scala and Java to the path when starting VSCode.
sudo apt-get install gcc ruby ruby-dev ruby-ffi
sudo gem install travis -v 1.8.8 --no-rdoc --no-ri
travis lint .travis.yml