summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-01-15 05:26:09 -0500
committerrealtradam <[email protected]>2022-01-15 05:26:09 -0500
commit1b267b74a154abee9b67adc15474bf8c30ba33a8 (patch)
treebeece03604f9288d8c5adf25462c73638ef3607b /Rakefile
parentcc5b21837424190ee652fe6fe7051956caa48796 (diff)
downloadFelFlameEngine-1b267b74a154abee9b67adc15474bf8c30ba33a8.tar.gz
FelFlameEngine-1b267b74a154abee9b67adc15474bf8c30ba33a8.zip
desktop no longer has illegal operation
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index d9d6a64..6868c2c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -35,6 +35,10 @@ namespace :build do
system("../../mruby/bin/mrbc -Bbytecode -obytecode.h main.rb")
end
end
+ desc 'Launch the game'
+ task :playtest => :single_file do
+ system("./mruby/build/host/bin/mruby build/temp/main.rb'")
+ end
desc 'Build the game for web'
task :web => :bytecode do
Dir.mkdir("build/web") unless File.exists?("build/web")