summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index f69f0f1..85d3ed4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,3 +1,4 @@
+desc "Build your game"
task :build do
desc "Build game"
Dir.chdir("mruby") do
@@ -5,6 +6,7 @@ task :build do
end
end
+desc "Create a server and open your game in your browser"
task :serve do
link = "http://localhost:8000/game.html"
if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/