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.txt
and make the following changes:- Change
-Xmx
option 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
~/.sbt
directory. Make sure you saveglobal.sbt
,plugins.sbt
and any other configuration files. -
Copy the files in
setup/sbt/0.13
to~/.sbt/0.13
. This has aglobal.sbt
,plugins.sbt
files 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