Lightweight build and deployment system.
Made for educational purposes, do not use in production.
- clone the repo
git clone https://github.com/OliverSchlueter/Buildify.git
- run
make.bat
- executable will be located at:
bin/buildify.exe
- clone the repo
git clone https://github.com/OliverSchlueter/Buildify.git
- run
make.sh
- executable will be located at:
bin/buildify
- download buildify.exe from github releases or build yourself
- run buildify.exe and let it generate some files
- stop buildify
- edit config.json as you wish
- create your build script (and set up the work directory)
- start buildify
Example config and build script for a java gradle project
config.json
{
"Port": 1337,
"BuildScriptPath": "build.bat",
"ArtifactPath": "work/build/libs/MyJar.jar"
}
build.bat
cd work
git fetch
git pull
gradlew build
cd ../
/api/builds
- Shows a list of all builds
/api/build/<id|latest>
- Shows details about a build
/api/download/<id>
- Downloads the output file of a build
/api/startBuild
- Starts the process of creating a new build (auth required)
/api/deleteBuild/<id>
- Deletes a build (auth required)
/api/server-stats
- Shows some statistics about the running server
/api/build-script
(GET) - Shows the current build script
/api/build-script
(POST) - Sets the current build script (put the new script in the body)
/api/artifact-file-path
(GET) - Shows the current artifact file path
/api/artifact-file-path
(POST) - Sets the current artifact file path (put the new path in the body)