-
Notifications
You must be signed in to change notification settings - Fork 240
Building from Source Code
moulins edited this page Jun 19, 2019
·
3 revisions
The build process is configured via the file src/main/resources/amidst/metadata.properties. For example the <filename> is taken from the variable amidst.build.filename.
Amidst uses maven for its build process.
mvn install
This will place the jar file under target/<filename>.jar.
mvn cleanmvn installmvn package -DskipTests=true -f travis-ci/wrapper-for-mac/pom.xmlbash travis-ci/scripts/zip-and-move-wrapper-for-mac.sh
The zip-and-move-wrapper-for-mac.sh bash script simply creates a zip file from the directory located at travis-ci/wrapper-for-mac/target/<filename>/. You can also do this by yourself.
This will place the zip file under target/<filename>.zip.
mvn cleanmvn installmvn package -DskipTests=true -f travis-ci/wrapper-for-windows/pom.xml
This will place the exe file under target/<filename>.exe.
Travis CI will execute the steps under Building the jar file for the regular build. It will also create the wrappers for Mac OS X and Windows when it creates a new release.