Release script for linux.
This commit is contained in:
parent
2206088516
commit
056fe0986a
4 changed files with 14 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -27,7 +27,11 @@ asset_build:
|
||||||
release_build:
|
release_build:
|
||||||
meson --wipe builddir -Db_ndebug=true --buildtype release
|
meson --wipe builddir -Db_ndebug=true --buildtype release
|
||||||
meson compile -j 10 -C builddir
|
meson compile -j 10 -C builddir
|
||||||
|
ifeq '$(OS)' 'Windows_NT'
|
||||||
powershell -executionpolicy bypass .\scripts\release.ps1
|
powershell -executionpolicy bypass .\scripts\release.ps1
|
||||||
|
else
|
||||||
|
sh -x ./scripts/release.sh
|
||||||
|
endif
|
||||||
|
|
||||||
debug_build:
|
debug_build:
|
||||||
meson setup --wipe builddir -Db_ndebug=true --buildtype debugoptimized
|
meson setup --wipe builddir -Db_ndebug=true --buildtype debugoptimized
|
||||||
|
|
|
||||||
0
scripts/coverage_reset.sh
Normal file → Executable file
0
scripts/coverage_reset.sh
Normal file → Executable file
10
scripts/release.sh
Executable file
10
scripts/release.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
rm -rf releases
|
||||||
|
mkdir -p releases/under_the_ashland_dome
|
||||||
|
cp -r assets releases/under_the_ashland_dome
|
||||||
|
cp builddir/under_the_dome releases/under_the_ashland_dome
|
||||||
|
cd releases
|
||||||
|
zip -r9 under_the_ashland_dome-ubuntu-linux.zip under_the_ashland_dome
|
||||||
|
cd ..
|
||||||
|
open ./releases/under_the_ashland_dome
|
||||||
0
scripts/reset_build.sh
Normal file → Executable file
0
scripts/reset_build.sh
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue