Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7f384f47dc
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.565 kb
desc "Compile and commit new build to git"
task :build => [:compile, :commit_build]
desc "Build audio.js to audio.min.js"
task :compile do
`closure --js=audiojs/audio.js --compilation_level=SIMPLE_OPTIMIZATIONS --js_output_file=audiojs/audio.min.js --warning_level=QUIET`
end
task :commit_build do
`git commit audiojs/audio.js -m "Closure compiled \`git rev-parse HEAD\`"`
end
desc "Zip up a release"
task :release => :compile do
`cat Manifest | zip -9 -@ audiojs.zip`
end
#desc "Run the test suite"
#task :test do
# `open -a Safari test/suite.html`
#end
Jump to Line
Something went wrong with that request. Please try again.