@@ -10,7 +10,7 @@ don't hesitate to check out some demo apps:
10
10
- [ examples/demo_app] ( ./examples/demo_app ) uses [ ` webpack ` ] to process
11
11
javascript assets while ` sprockets ` handles other assets
12
12
- [ examples/demo_app-rails5] ( ./examples/demo_app-rails5 ) is the same app but
13
- using rails 5 instead of rails 6 (` external_asset_pipeline ` supports both )
13
+ using rails 5 (` external_asset_pipeline ` supports rails >= 5 )
14
14
- [ examples/demo_app-brunch] ( ./examples/demo_app-brunch ) uses [ ` brunch ` ] to
15
15
manage all assets without ` sprockets `
16
16
- [ examples/demo_app-gulp] ( ./examples/demo_app-gulp ) uses [ ` gulp ` ] in addition
@@ -39,10 +39,6 @@ And then execute:
39
39
40
40
$ bundle
41
41
42
- Or install it yourself as:
43
-
44
- $ gem install external_asset_pipeline
45
-
46
42
## Usage
47
43
48
44
In ` config/application.rb ` , after ` Bundler.require(*Rails.groups) ` , add:
@@ -175,9 +171,14 @@ container.</sup>
175
171
176
172
# # Development
177
173
178
- After checking out the repo, run ` bin/setup` to install dependencies. Then , run
179
- ` rake test` to run the tests. You can also run ` bin/console` for an interactive
180
- prompt that will allow you to experiment.
174
+ After checking out the repo, run ` script/bootstrap` to install dependencies.
175
+ Then , run ` bundle exec rake test:integration:prepare` to set up the integration
176
+ test environment and run ` script/test` to run the tests. By default, that will
177
+ exercise the ` demo_app` example application. To exercise a different example
178
+ application, set the ` EXAMPLE_APP` environment variable to the corresponding
179
+ directory name (e.g. ` EXAMPLE_APP=demo_app-rollup` ). To lint the code, run
180
+ ` script/lint` . You can also run ` script/console` for an interactive prompt that
181
+ will allow you to experiment.
181
182
182
183
To install this gem onto your local machine, run ` bundle exec rake install` . To
183
184
release a new version, update the version number in ` version.rb` , and then run
0 commit comments