Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tons of improvements. Parity with current ember gem
- Loading branch information
Devin Torres
committed
Mar 30, 2012
1 parent
2789315
commit 5603f65
Showing
18 changed files
with
2,990 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
source "http://rubygems.org" | ||
source :rubygems | ||
|
||
gem "rack" | ||
gem "rack-rewrite" | ||
# gem "rack-streaming-proxy" | ||
gem 'colored' | ||
|
||
gem "sass" | ||
gem "compass" | ||
gem 'guard' | ||
gem 'guard-rake' | ||
|
||
gem "uglifier" | ||
gem "yui-compressor" | ||
gem 'rack' | ||
gem 'rack-rewrite' | ||
# gem 'rack-streaming-proxy' | ||
|
||
gem "rake-pipeline", :git => "https://github.com/livingsocial/rake-pipeline.git" | ||
gem "rake-pipeline-web-filters", :git => "https://github.com/wycats/rake-pipeline-web-filters.git" | ||
gem 'sass' | ||
gem 'compass' | ||
|
||
gem 'uglifier' | ||
gem 'yui-compressor' | ||
|
||
gem 'rake-pipeline', :git => 'https://github.com/livingsocial/rake-pipeline.git' | ||
gem 'rake-pipeline-web-filters', :git => 'https://github.com/wycats/rake-pipeline-web-filters.git' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
guard :rake, :task => :test do | ||
watch(%r{^app/.+\.js$}) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
APPNAME = 'ember-skeleton' | ||
|
||
require 'colored' | ||
require 'rake-pipeline' | ||
|
||
desc "Build #{APPNAME}" | ||
task :build do | ||
Rake::Pipeline::Project.new('Assetfile').invoke | ||
end | ||
|
||
desc "Run tests with PhantomJS" | ||
task :test => :build do | ||
unless system("which phantomjs > /dev/null 2>&1") | ||
abort "PhantomJS is not installed. Download from http://phantomjs.org/" | ||
end | ||
|
||
cmd = "phantomjs tests/qunit/run-qunit.js \"file://#{File.dirname(__FILE__)}/tests/index.html\"" | ||
|
||
# Run the tests | ||
puts "Running #{APPNAME} tests" | ||
success = system(cmd) | ||
|
||
if success | ||
puts "Tests Passed".green | ||
else | ||
puts "Tests Failed".red | ||
exit(1) | ||
end | ||
end |
Oops, something went wrong.