瀏覽代碼

Updated scripts.

Mark Sibly 8 年之前
父節點
當前提交
4e6d8f9722
共有 6 個文件被更改,包括 16 次插入5 次删除
  1. 2 0
      scripts/rebuildmx2cc.bat
  2. 3 1
      scripts/rebuildmx2cc.sh
  3. 3 2
      scripts/updatemods.bat
  4. 3 2
      scripts/updatemods.sh
  5. 2 0
      scripts/updatemx2cc.bat
  6. 3 0
      scripts/updatemx2cc.sh

+ 2 - 0
scripts/rebuildmx2cc.bat

@@ -8,5 +8,7 @@ echo ***** Rebuilding mx2cc *****
 echo.
 echo.
 
 
 %mx2cc% makemods -clean -config=release monkey libc miniz stb-image stb-image-write stb-vorbis std
 %mx2cc% makemods -clean -config=release monkey libc miniz stb-image stb-image-write stb-vorbis std
+
 %mx2cc% makeapp -clean -config=release -apptype=console ../src/mx2cc/mx2cc.monkey2
 %mx2cc% makeapp -clean -config=release -apptype=console ../src/mx2cc/mx2cc.monkey2
+
 copy %mx2cc_new% %mx2cc%
 copy %mx2cc_new% %mx2cc%

+ 3 - 1
scripts/rebuildmx2cc.sh

@@ -5,6 +5,8 @@ echo ""
 echo "***** Rebuilding mx2cc *****"
 echo "***** Rebuilding mx2cc *****"
 echo ""
 echo ""
 
 
-$mx2cc makemods -clean -config=release monkey libc miniz stb-image stb-image-write stb-vorbis std 
+$mx2cc makemods -clean -config=release monkey libc miniz stb-image stb-image-write stb-vorbis std
+
 $mx2cc makeapp -clean -config=release -apptype=console ../src/mx2cc/mx2cc.monkey2
 $mx2cc makeapp -clean -config=release -apptype=console ../src/mx2cc/mx2cc.monkey2
+
 cp "$mx2cc_new" "$mx2cc"
 cp "$mx2cc_new" "$mx2cc"

+ 3 - 2
scripts/updatemods.bat

@@ -5,5 +5,6 @@ echo.
 echo ***** Updating modules *****
 echo ***** Updating modules *****
 echo.
 echo.
 
 
-..\bin\mx2cc_windows makemods -config=release -target=desktop
-..\bin\mx2cc_windows makemods -config=debug -target=desktop
+%mx2cc% makemods -config=release
+
+%mx2cc% makemods -config=debug

+ 3 - 2
scripts/updatemods.sh

@@ -5,5 +5,6 @@ echo ""
 echo "***** Updating modules *****"
 echo "***** Updating modules *****"
 echo ""
 echo ""
 
 
-$mx2cc makemods -target=desktop -config=release
-$mx2cc makemods -target=desktop -config=debug
+$mx2cc makemods -config=release
+
+$mx2cc makemods -config=debug

+ 2 - 0
scripts/updatemx2cc.bat

@@ -7,6 +7,8 @@ echo.
 echo ***** Updating mx2cc *****
 echo ***** Updating mx2cc *****
 echo.
 echo.
 
 
+%mx2cc% makemods -config=release monkey libc miniz stb-image stb-image-write stb-vorbis std
+
 %mx2cc% makeapp -apptype=console -config=release ../src/mx2cc/mx2cc.monkey2
 %mx2cc% makeapp -apptype=console -config=release ../src/mx2cc/mx2cc.monkey2
 
 
 copy %mx2cc_new% %mx2cc%
 copy %mx2cc_new% %mx2cc%

+ 3 - 0
scripts/updatemx2cc.sh

@@ -5,5 +5,8 @@ echo ""
 echo "***** Updating mx2cc *****"
 echo "***** Updating mx2cc *****"
 echo ""
 echo ""
 
 
+$mx2cc makemods -config=release
+
 $mx2cc makeapp -apptype=console -config=release ../src/mx2cc/mx2cc.monkey2
 $mx2cc makeapp -apptype=console -config=release ../src/mx2cc/mx2cc.monkey2
+
 cp "$mx2cc_new" "$mx2cc"
 cp "$mx2cc_new" "$mx2cc"