maccman / catapult

A Sprockets/Rack build tool
MIT License
137 stars 14 forks source link

Add --target option to build and watch. #4

Closed ejholmes closed 12 years ago

ejholmes commented 12 years ago

Example:

$ bundle exec catapult build -t './static/assets'
Building: /Users/ejholmes/Source/example
Write asset: ./static/assets/sprockets/commonjs.js
Write asset: ./static/assets/app.js
Write asset: ./static/assets/app.css

or

$ bundle exec catapult watch -t './static/assets'
Watching: /Users/ejholmes/Source/example
Building: /Users/ejholmes/Source/example
Write asset: ./static/assets/sprockets/commonjs.js
Write asset: ./static/assets/app.js
Write asset: ./static/assets/app.css