Sha256: 5f86409aeaa2d5352c999e19fb3abe160d6b71c069b558aa9a1f216bfa04d8ae
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 Bytes
Contents
desc "create build output directory" directory Webruby.build_dir desc "cleanup all generated files" task :clean do |t| sh "rm -rf #{Webruby.build_dir}" end task :debug do |t| puts Webruby::build_dir puts Webruby::App.config.build_dir puts MRUBY_DIR puts EMSCRIPTEN_DIR end task :default => :js task :js => "#{Webruby.build_dir}/#{Webruby::App.config.output_name}" task :mrbtest => "#{Webruby.build_dir}/mrbtest.js" do |t| sh "cd #{Webruby.build_dir} && node mrbtest.js" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webruby-0.9.3 | lib/webruby/rake/general.rake |
webruby-0.9.2 | lib/webruby/rake/general.rake |
webruby-0.9.1 | lib/webruby/rake/general.rake |