Advertisement
Guest User

Untitled

a guest
Apr 9th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.18 KB | None | 0 0
  1. require 'bundler'
  2. Bundler.require
  3.  
  4. desc 'Build our app to build.js'
  5. task :build do
  6.  
  7.   Opal.append_path "."
  8.   File.binwrite "draft-opal.js", Opal::Builder.build("draft").to_s
  9.  
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement