Skip to content

Commit c65cf30

Browse files
committed
feat(Rake) add rake file for installing NPM deps
1 parent 78e4fa5 commit c65cf30

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Rakefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ namespace :react do
3636
copy_react_asset("#{environment}/react-server-with-addons.js", "#{environment}-with-addons/react-server.js")
3737
end
3838
end
39+
40+
desc "Use NPM to install the JavaScript dependencies"
41+
task :install do
42+
Dir.chdir("react-builds") do
43+
`npm install`
44+
end
45+
end
3946
end
4047

4148
require 'appraisal'

0 commit comments

Comments
 (0)