File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ following sections.
6262```
6363bundle exec ... # for best results always use bundle exec!
6464rails hyperstack:install # full system install
65- rails hyperstack:install:webpack-only # just add webpack
65+ rails hyperstack:install:webpack # just add webpack
6666rails hyperstack:install:skip-webpack # all but webpack
6767rails hyperstack:install:hyper-model-only # just add hyper-model
6868rails hyperstack:install:skip-hyper-model # all but hyper-model
@@ -98,7 +98,7 @@ rails g hyper:router CompName # adds a router component
9898# Note that hyperstack:install is the same as running:
9999
100100rails g hyper:component App --add-route
101- rails hyperstack:install:webpack-only
101+ rails hyperstack:install:webpack
102102rails hyperstack:install:hyper-model-only
103103rails hyperstack:install:hotloader-only
104104```
Original file line number Diff line number Diff line change @@ -185,19 +185,19 @@ def report
185185 private
186186
187187 def skip_adding_component?
188- options [ 'hotloader-only' ] || options [ 'webpack-only ' ] || options [ 'hyper-model-only' ]
188+ options [ 'hotloader-only' ] || options [ 'webpack' ] || options [ 'hyper-model-only' ]
189189 end
190190
191191 def skip_hotloader?
192- options [ 'skip-hotloader' ] || options [ 'webpack-only ' ] || options [ 'hyper-model-only' ]
192+ options [ 'skip-hotloader' ] || options [ 'webpack' ] || options [ 'hyper-model-only' ]
193193 end
194194
195195 def skip_webpack?
196196 options [ 'hotloader-only' ] || options [ 'skip-webpack' ] || options [ 'hyper-model-only' ]
197197 end
198198
199199 def skip_hyper_model?
200- options [ 'hotloader-only' ] || options [ 'webpack-only ' ] || options [ 'skip-hyper-model' ]
200+ options [ 'hotloader-only' ] || options [ 'webpack' ] || options [ 'skip-hyper-model' ]
201201 end
202202
203203 def inject_into_initializer ( s )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace :hyperstack do
1313 task "hotloader-only" do
1414 exec "#{ RbConfig . ruby } #{ bin_path } /rails g hyperstack:install --hotloader-only"
1515 end
16- task "webpack-only " do
16+ task "webpack" do
1717 exec "#{ RbConfig . ruby } #{ bin_path } /rails g hyperstack:install --webpack-only"
1818 end
1919 task "hyper-model-only" do
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ gets installed:
4949You can always install these pieces later using these options:
5050
5151--hotloader-only # just add the hotloader
52- --webpack-only # just add webpack
52+ --webpack # just add webpack
5353--hyper-model-only # just add hyper-model, and default policy files
5454
5555*******************************************************************************
You can’t perform that action at this time.
0 commit comments