Sha256: 0d1915255e6c1ae398a78b0a816c869f901c7217c2944440ece68bd87af4b1bf
Contents?: true
Size: 650 Bytes
Versions: 2
Compression:
Stored size: 650 Bytes
Contents
require 'bundler/gem_tasks' # require 'middleman-gh-pages' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) # desc "Compile javascript -> coffeescript" # task :coffee do # destination = "source/javascripts/breezeblocks/coffeescript" # Dir["source/javascripts/breezeblocks/**/*.js"].each do |source| # filename = File.basename(source.gsub(/.js/, ".coffee")) # `$(npm bin)/js2coffee #{source} > #{destination}/#{filename}` # end # puts "Please make sure that all generated coffeescript files are correct" # puts "before committing the changes\n" # puts `git status` # end task default: :spec task publish: :spec
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
breezeblocks-0.0.2 | Rakefile |
breezeblocks-0.0.1 | Rakefile |