diff --git a/README.mdown b/README.mdown index d5d18e9..96dcac1 100644 --- a/README.mdown +++ b/README.mdown @@ -2,11 +2,11 @@ This is a fork of MTASC. The original version was built and maintained by Motion-Twin, but it is no longer updated due to Motion-Twin's new focus on haXe (http://haxe.org). The homepage for this fork is: -https://sourceforge.net/projects/mtasc/ + The original Motion-Twin website is: -http://www.mtasc.org + MTASC is Licensed under the GNU General Public License (GPL) The compiler sources are available on the above websites. diff --git a/Rakefile b/Rakefile index 4be54d8..d5baaeb 100644 --- a/Rakefile +++ b/Rakefile @@ -19,7 +19,9 @@ task :setup do if File.exist? "/usr/local/bin/wget" puts "wget is already installed" else - system("curl -a -O http://ftp.gnu.org/gnu/wget/wget-1.11.4.tar.bz2") + if !File.exist? "wget-1.11.4.tar.bz2" + system("curl -a -O http://ftp.gnu.org/gnu/wget/wget-1.11.4.tar.bz2") + end system("bunzip2 wget-1.11.4.tar.bz2") system("tar xf wget-1.11.4.tar") Dir.chdir("wget-1.11.4") do @@ -32,10 +34,12 @@ task :setup do if File.exist? "/usr/local/bin/pcregrep" puts "pcre is already installed" else - system("curl -a -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2") - system("bunzip2 pcre-7.9.tar.bz2") - system("tar xf pcre-7.9.tar") - Dir.chdir("pcre-7.9") do + if !File.exist? "pcre-8.10.tar.bz2" + system("curl -a -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.bz2") + end + system("bunzip2 pcre-8.10.tar.bz2") + system("tar xf pcre-8.10.tar") + Dir.chdir("pcre-8.10") do system("./configure") system("make install") end @@ -45,10 +49,12 @@ task :setup do if File.exist? "/opt/godi/bin/ocaml" puts "GODI is already installed" else - system("curl -a -O http://download.camlcity.org/download/godi-rocketboost-20090916.tar.gz") - system("tar xvzf godi-rocketboost-20090916.tar.gz") + if !File.exist? "godi-rocketboost-20091222.tar.gz" + system("curl -a -O http://download.camlcity.org/download/godi-rocketboost-20091222.tar.gz") + end + system("tar xvzf godi-rocketboost-20091222.tar.gz") mkdir_p "godi" - Dir.chdir("godi-rocketboost-20090916") do + Dir.chdir("godi-rocketboost-20091222") do system("./bootstrap") system("PATH=/opt/godi/bin:/opt/godi/sbin:$PATH && ./bootstrap_stage2") end diff --git a/VERSION b/VERSION index 07fe6f6..795d870 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15 \ No newline at end of file +1.15.1 \ No newline at end of file diff --git a/src/mtasc/std/TopLevel.as b/src/mtasc/std/TopLevel.as index 0ccacef..847222b 100644 --- a/src/mtasc/std/TopLevel.as +++ b/src/mtasc/std/TopLevel.as @@ -50,5 +50,4 @@ intrinsic class TopLevel { private static function fscommand(x,y) : Void; private static function print(x,y : String) : Void; private static function stopAllSounds() : Void; - }