aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/actiontext.rake7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/tasks/actiontext.rake b/lib/tasks/actiontext.rake
index d451b0fec1..6ec30f86e7 100644
--- a/lib/tasks/actiontext.rake
+++ b/lib/tasks/actiontext.rake
@@ -5,7 +5,7 @@ namespace :action_text do
Rake::Task["install:migrations"].clear_comments
desc "Copy over the migration, stylesheet, and JavaScript files"
- task install: %w( environment copy_migrations copy_stylesheet copy_fixtures )
+ task install: %w( environment copy_migrations copy_stylesheet copy_fixtures yarn_add )
task :copy_migrations do
Rake::Task["active_storage:install:migrations"].invoke
@@ -32,4 +32,9 @@ namespace :action_text do
FileUtils.cp FIXTURE_TEMPLATE_PATH, FIXTURE_APP_PATH
end
end
+
+ task :yarn_add do
+ # FIXME: Replace with release version on release
+ system "yarn add https://github.com/basecamp/actiontext"
+ end
end