diff --git a/.gitignore b/.gitignore index a3a6e469..39dfc5a3 100644 --- a/.gitignore +++ b/.gitignore @@ -65,4 +65,5 @@ result # Project bits mt-typhon rpython/ -pypy-* +# This comes from build.sh for non-nix users +pypy*bz2 diff --git a/bake.sh b/bake.sh new file mode 100755 index 00000000..afea9100 --- /dev/null +++ b/bake.sh @@ -0,0 +1,8 @@ +#!/bin/sh +TYPHON_LOCATION=$1 +MT_TYPHON=./$TYPHON_LOCATION/mt-typhon +TYPHON_LIBS="-l $TYPHON_LOCATION/boot -l $TYPHON_LOCATION -l ." +TYPHON_BAKER="$TYPHON_LOCATION/loader run montec -mix" +SOURCE=$2 + +$MT_TYPHON $TYPHON_LIBS $TYPHON_BAKER "$SOURCE" "${SOURCE%.mt}.mast" diff --git a/run.sh b/run.sh new file mode 100755 index 00000000..0cc2033c --- /dev/null +++ b/run.sh @@ -0,0 +1,8 @@ +#!/bin/sh +TYPHON_LOCATION=$1 +MT_TYPHON=$TYPHON_LOCATION/mt-typhon +TYPHON_LIBS="-l $TYPHON_LOCATION -l $TYPHON_LOCATION/mast -l ." +TYPHON_RUNNER="$TYPHON_LOCATION/loader run" +MODULE=$2 + +$MT_TYPHON $TYPHON_LIBS $TYPHON_RUNNER "$MODULE"