aboutsummaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-02-01 04:31:03 +1030
committerMatthew Draper <matthew@trebex.net>2016-02-01 05:03:03 +1030
commitd6f2000a67cc63aa67414c75ce77de671824ec52 (patch)
tree86ddb70130bc3d40fb0a9aeb125108f47b8e07b1 /tasks
parentca9603fc35d123d1c8490096dc0447a91f3e3c18 (diff)
downloadrails-d6f2000a67cc63aa67414c75ce77de671824ec52.tar.gz
rails-d6f2000a67cc63aa67414c75ce77de671824ec52.tar.bz2
rails-d6f2000a67cc63aa67414c75ce77de671824ec52.zip
Wrangle the asset build into something that sounds more general
Diffstat (limited to 'tasks')
-rw-r--r--tasks/release.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/release.rb b/tasks/release.rb
index 25ba91cb49..de9c51a140 100644
--- a/tasks/release.rb
+++ b/tasks/release.rb
@@ -13,6 +13,7 @@ directory "pkg"
task :clean do
rm_f gem
+ sh "cd #{framework} && bundle exec rake package:clean" unless framework == "rails"
end
task :update_versions do
@@ -48,7 +49,7 @@ directory "pkg"
task gem => %w(update_versions pkg) do
cmd = ""
cmd << "cd #{framework} && " unless framework == "rails"
- cmd << "bundle exec rake assets:compile && " if framework == "actioncable"
+ cmd << "bundle exec rake package && " unless framework == "rails"
cmd << "gem build #{gemspec} && mv #{framework}-#{version}.gem #{root}/pkg/"
sh cmd
end