X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=build.sh;h=0b958721a60804f5854e175e43499f9694830e6a;hb=8bc80dc83f08a7016f1057f82d00727a2e417fa3;hp=2ceb2fecffb559b6c1c64fb27f73c2102715ccda;hpb=0481656712bdc72d2a7ffa80f74702f87b20e051;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/build.sh b/build.sh index 2ceb2fe..0b95872 100755 --- a/build.sh +++ b/build.sh @@ -73,9 +73,9 @@ delay_run_game(){ } link_content(){ - ln -sr bin/content/textures/ $1/textures - ln -sr bin/content/models/ $1/models - ln -sr bin/content/sound/ $1/sound + ln -srf bin/content/textures $1/textures + ln -srf bin/content/models $1/models + ln -srf bin/content/sound $1/sound } TIMESTAMP=`date +%Y-%m-%d_%H-%M-%S` @@ -198,7 +198,7 @@ vg_command(){ run_command game run_command server ;; - distribution) + disb) mkdir -p ./dist run_command release run_command tools @@ -207,7 +207,9 @@ vg_command(){ run_command content run_command textures run_command server + ;; + distribution) titleit "Compressing distributions" logit "Linux" tar -chzvf dist/skaterift_linux__$TIMESTAMP.tar.gz bin/linux/ @@ -215,6 +217,7 @@ vg_command(){ tar -chzvf dist/skaterift_server__$TIMESTAMP.tar.gz bin/linux_server logit "Windows" tar -chzvf dist/skaterift_win32__$TIMESTAMP.tar.gz bin/win32/ + zip -r9 dist/skaterift_win32__$TIMESTAMP.zip bin/win32/ ;; # Runners # ========================================================================