瀏覽代碼

Added scripts.

woollybah 6 年之前
父節點
當前提交
60b34ed3c9
共有 4 個文件被更改,包括 59 次插入0 次删除
  1. 3 0
      src/macos/build_maxide.sh
  2. 5 0
      src/macos/run_me_first.command
  3. 29 0
      src/scripts/make_release_nix.sh
  4. 22 0
      src/scripts/make_release_win32.bat

+ 3 - 0
src/macos/build_maxide.sh

@@ -0,0 +1,3 @@
+bin/bmk makeapp -t gui -a -r src/maxide/maxide.bmx
+mv src/maxide/maxide.app MaxIDE.app
+

+ 5 - 0
src/macos/run_me_first.command

@@ -0,0 +1,5 @@
+#!/bin/bash
+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+cd "${DIR}"
+./build_maxide.sh
+

+ 29 - 0
src/scripts/make_release_nix.sh

@@ -0,0 +1,29 @@
+svn export -q --force https://github.com/bmx-ng/bmx-ng.git/trunk $1
+
+cd $1
+
+mkdir bin
+mkdir lib
+mkdir mod
+
+cd src
+svn export -q --force https://github.com/bmx-ng/bcc.git/trunk bcc
+svn export -q --force https://github.com/bmx-ng/bmk.git/trunk bmk
+svn export -q --force https://github.com/bmx-ng/maxide.git/trunk maxide
+cd ..
+
+cd mod
+svn export -q --force https://github.com/bmx-ng/brl.mod.git/trunk brl.mod
+svn export -q --force https://github.com/bmx-ng/pub.mod.git/trunk pub.mod
+svn export -q --force https://github.com/bmx-ng/maxgui.mod.git/trunk maxgui.mod
+
+svn export -q --force https://github.com/bmx-ng/sdl.mod.git/trunk sdl.mod
+svn export -q --force https://github.com/bmx-ng/mky.mod.git/trunk mky.mod
+cd ..
+
+cd src/bmk
+cp -Rp resources ../../
+cp core.bmk ../../bin
+cp make.bmk ../../bin
+cp custom.bmk ../../bin
+cd ../..

+ 22 - 0
src/scripts/make_release_win32.bat

@@ -0,0 +1,22 @@
+cmd /c svn export https://github.com/bmx-ng/bmx-ng.git/trunk %1
+
+cd %1
+
+mkdir bin
+mkdir lib
+mkdir mod
+
+cd src
+cmd /c svn export https://github.com/bmx-ng/bcc.git/trunk bcc
+cmd /c svn export https://github.com/bmx-ng/bmk.git/trunk bmk
+cmd /c svn export https://github.com/bmx-ng/maxide.git/trunk maxide
+cd ..
+
+cd mod
+cmd /c svn export https://github.com/bmx-ng/brl.mod.git/trunk brl.mod
+cmd /c svn export https://github.com/bmx-ng/pub.mod.git/trunk pub.mod
+cmd /c svn export https://github.com/bmx-ng/maxgui.mod.git/trunk maxgui.mod
+
+cmd /c svn export https://github.com/bmx-ng/sdl.mod.git/trunk sdl.mod
+cmd /c svn export https://github.com/bmx-ng/mky.mod.git/trunk mky.mod
+cd ..