Browse Source

Use Babel to transform JS in docs, update other calls

main
Paul O’Shannessy 10 years ago
parent
commit
0b033d43d5
  1. 4
      Rakefile

4
Rakefile

@ -4,12 +4,12 @@ require('yaml')
desc "generate js from jsx" desc "generate js from jsx"
task :js do task :js do
system "../bin/jsx --harmony _js js" system "../node_modules/.bin/babel _js --out-dir=js"
end end
desc "watch js" desc "watch js"
task :watch do task :watch do
Process.spawn "../bin/jsx --watch --harmony _js js" Process.spawn "../node_modules/.bin/babel _js --out-dir=js --watch"
Process.waitall Process.waitall
end end

Loading…
Cancel
Save