Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (20 sloc) 0.773 kb
8f34d2a Brian Cardarella Initial commit
bcardarella authored
1 require 'bundler/setup'
2 require 'ember-dev/tasks'
3
a0e75a2 Robert Jackson Publish builds to S3.
rwjblue authored
4 task :publish_build => [:dist, 'ember:generate_static_test_site'] do
5 root_dir = Pathname.new(__FILE__).dirname
6 dist_dir = root_dir.join('dist')
7
8 files = %w{ember-easyForm.js ember-easyForm-spade.js
9 ember-easyForm-tests.js ember-easyForm-tests.html}
10
11 EmberDev::Publish.to_s3({
12 :access_key_id => ENV['S3_ACCESS_KEY_ID'],
13 :secret_access_key => ENV['S3_SECRET_ACCESS_KEY'],
14 :bucket_name => ENV['S3_BUCKET_NAME'],
15 :subdirectory => ENV['S3_FILE_PREFIX'],
16
17 :files => files.map { |f| dist_dir.join(f) }
18 })
19 end
20
8f34d2a Brian Cardarella Initial commit
bcardarella authored
21 task :clean => 'ember:clean'
22 task :dist => 'ember:dist'
23 task :test, [:suite] => 'ember:test'
24 task :default => 'ember:test'
e5f70cf Brian Cardarella Updated for latest Ember 1.1.0
bcardarella authored
25 task :test_site => 'ember:generate_static_test_site'
Something went wrong with that request. Please try again.