Merge branch 'linux-dev' of https://github.com/antopilo/Nuake into linux-dev

This commit is contained in:
Antoine Pilote
2023-09-30 14:29:44 -04:00
2 changed files with 65 additions and 2 deletions

0
build_assets.sh → .build_assets.sh Normal file → Executable file
View File

View File

@@ -1,3 +1,66 @@
#!/bin/bash
premake5 gmake;
make config=release all;
function -r {
premake5 gmake;
make config=release all;
}
function -d {
premake5 gmake;
make config=debug all;
}
function -a {
bash .build_assets.sh;
}
function -c {
make clean;
echo -e "=====Cleaning done=====";
}
function -h {
echo -e "
==========================================================================
run ./build.sh -r to compile for release
run ./build.sh -d to compile for debug
run ./build.sh -c to run make clean (start fresh)
run ./build.sh -h to read this msg :3
==========================================================================
";
}
### command list ###
case $1 in
-r)
-r
;;
-d)
-d
;;
-a)
-a
;;
-c)
-c
;;
-h)
-h
;;
*)
echo -e "
==========================================================================
run ./build.sh -r to compile for release
run ./build.sh -d to compile for debug
run ./build.sh -c to run make clean (start fresh)
run ./build.sh -h to read this msg :3
==========================================================================
"
esac