Selaa lähdekoodia

Build script for linux systems

master
Patrick Jakobsen 5 vuotta sitten
vanhempi
commit
1b06569fd8
2 muutettua tiedostoa jossa 23 lisäystä ja 0 poistoa
  1. +19
    -0
      build.sh
  2. +4
    -0
      src/acs_source/compile.sh

+ 19
- 0
build.sh Näytä tiedosto

@ -0,0 +1,19 @@
#!/bin/bash
rm ZMemory.pk3
cd src
# compile the ACS source
cd acs_source
bash compile.sh
cd ..
# Bundle everything that isn't:
# .sh : a shell script.
thin_arg=$1
if [[ $thin_arg == "source" ]]; then
7za a -tzip ../ZMemory.pk3 -r -x\!*.sh -xr\!acs_source
else
7za a -tzip ../ZMemory.pk3 -r -x\!*.sh
fi

+ 4
- 0
src/acs_source/compile.sh Näytä tiedosto

@ -0,0 +1,4 @@
#!/bin/bash
acc -i $ACC_ZCOMMON_PATH ZMEMORY.acs ../acs/ZMEMORY.o

Ladataan…
Peruuta
Tallenna