Merge pull request #3869 from zpao/jsx-cleanup

JSX -> Babel cleanup
This commit is contained in:
Paul O’Shannessy
2015-05-13 15:31:48 -07:00
4 changed files with 2 additions and 2 deletions

View File

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