Add CI task
Some checks are pending
continuous-integration/laminar-elessar Build failed with exit code 55 after 8 seconds

This commit is contained in:
Starbeamrainbowlabs 2019-03-11 16:50:10 +00:00
parent 23325d02fc
commit 234ed7e9ed
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

21
build
View file

@ -90,7 +90,7 @@ task_dev-server-stop() {
task_end $?; task_end $?;
} }
function task_main-watch { task_main-watch() {
set_title "Build Watcher"; set_title "Build Watcher";
echo -e "Watching for changes."; echo -e "Watching for changes.";
@ -125,6 +125,25 @@ task_js-css() {
task_end $? "Error: rollup packing failed!"; task_end $? "Error: rollup packing failed!";
} }
task_ci() {
task_begin "Environment Information";
execute git --version;
execute node --version;
execute npm --version;
task_end $?;
tasks_run setup main archive;
}
task_archive() {
task_begin "Archiving";
mv "dist/" "Linux101/";
tar cafv "${ARCHIVE}/slides.tar.bz2" "Linux101/";
mv "Linux101/" "dist/";
task_end $?;
}
############################################################################### ###############################################################################