imulus / banshee Goto Github PK
View Code? Open in Web Editor NEWA speedy tool for combining and compressing your JavaScript, CoffeeScript, CSS and LESS source files
Home Page: http://imulus.github.com/banshee
A speedy tool for combining and compressing your JavaScript, CoffeeScript, CSS and LESS source files
Home Page: http://imulus.github.com/banshee
Despite our conversations yesterday, I actually am having problems with it exiting on Mac OSX. When I hit a compilation error using rake watch in a Coffeescript file, the window won't let me close out. I have to manually type "exit," but I can't even see what I'm typing because it hides behind the spinning animation.
The only way to get it back is to type exit, open a new terminal window, and try again. Any idea what could be causing?
Could it be the loading / compiling graphic or the --clear option is preventing the window from resetting?
Uglify doesn't like them
When specifying a path using ~/ as shorthand for my home directory e.g. ~/projects/pyrokinetiq/assets/less/stylesheet.less
, Banshee gets a little confused by looking for /home/damon/~/projects/pyrokinetiq/assets/less/stylesheet.less
I'm loading some libraries using the Sprockets requires and for some reason, it's not adding the libraries to my application file as expected.
At the top of my application.coffee file:
#= require lib/jqtouch.min.js
#= require lib/jquery.easing.min.js
#= require lib/full_screen_image.coffee
#= require lib/jquery.imgpreload.min.js
#= require lib/retina.js
I've tried as well with only:
#= require lib/retina.js
Still nothing. The outputted application file simply starts with:
// Generated by CoffeeScript 1.3.3
(function() {
window.App = {
...
Banshee is at the latest version:
$ banshee -V
0.0.4
Any ideas? For what it's worth I was having issues with Coyote as well in this particular manifest file, but I can't seem to circumvent.
Also, the "Fork me on Github" link on the Banshee website links to Coyote.
This is definitely related to #4. When using the watch there is a LESS or CoffeeScript compilation error, the Terminal window freezes, causing some yucky output and preventing any readable characters.
Multiple attempts to press ctrl-c
do nothing. Typing exit
works, but obviously closes the Terminal tab. I've had this issue on multiple projects.
Banshee rakefile:
def banshee input, output, options={}
options = options.map { |k,v| "--#{k}" if v }.compact.join(' ')
sh "banshee #{input}:#{output} #{options}"
end
task :build => ['js:build', 'css:build']
task :compress => ['js:compress', 'css:compress']
multitask :watch => ['js:watch', 'css:watch']
namespace :js do
input = "assets/js/application.coffee"
output = "assets/js/application.js"
task :build do
banshee input, output
end
task :compress do
banshee input, output, compress: true
end
task :watch do
banshee input, output, watch: true
end
end
namespace :css do
input = "assets/css/less/application.less"
output = "assets/css/application.css"
task :build do
banshee input, output
end
task :compress do
banshee input, output, compress: true
end
task :watch do
banshee input, output, watch: true
end
end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.