diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-10-02 16:05:03 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-10-02 16:05:03 -0700 |
commit | e11f84ee3a6d9a7fe77e3b1e112a6625c1df0ee4 (patch) | |
tree | d5bfaadb69565208c7ee8e778cc72b1f74ff01c9 /lib/templates | |
parent | d28ce034b51a7ea08e81ee319383ab35ca25cb32 (diff) | |
download | rails-e11f84ee3a6d9a7fe77e3b1e112a6625c1df0ee4.tar.gz rails-e11f84ee3a6d9a7fe77e3b1e112a6625c1df0ee4.tar.bz2 rails-e11f84ee3a6d9a7fe77e3b1e112a6625c1df0ee4.zip |
Use an app template installer instead for nicer overwriting checks
Diffstat (limited to 'lib/templates')
-rw-r--r-- | lib/templates/installer.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/templates/installer.rb b/lib/templates/installer.rb new file mode 100644 index 0000000000..4019b35490 --- /dev/null +++ b/lib/templates/installer.rb @@ -0,0 +1,9 @@ +say "Copying actiontext.css to app/assets/stylesheets" +copy_file "#{__dir__}/actiontext.css", "app/assets/stylesheets/actiontext.css" + +say "Copying fixtures to test/fixtures/action_text/rich_texts.yml" +copy_file "#{__dir__}/fixtures.yml", "test/fixtures/action_text/rich_texts.yml" + +# FIXME: Replace with release version on release +say "Installing JavaScript dependency" +run "yarn add https://github.com/basecamp/actiontext" |