Commit 4bce06b
authored
Use Thor's
The `javascript:install:shared` and `javascript:install:node_shared`
tasks serve only as prerequisites for the other installer tasks; they
should not be run on their own (nor listed with `rake --tasks`). By
replacing those tasks with corresponding calls to Thor's `apply` method,
we avoid the overhead of running `bin/rails app:template` (and
`bundle install`) multiple times.
This commit also renames `install_node.rb` to `install_procfile.rb`
since it is concerned with generating a `Procfile.dev` file.apply instead of prerequisite tasks (#183)1 parent 0afb806 commit 4bce06b
File tree
6 files changed
+15
-14
lines changed- lib
- install
- bun
- esbuild
- rollup
- webpack
- tasks/jsbundling
6 files changed
+15
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 3 | | |
14 | | - | |
| 4 | + | |
15 | 5 | | |
16 | 6 | | |
17 | 7 | | |
18 | 8 | | |
19 | | - | |
| 9 | + | |
20 | 10 | | |
21 | 11 | | |
22 | 12 | | |
23 | 13 | | |
24 | | - | |
| 14 | + | |
25 | 15 | | |
26 | 16 | | |
27 | 17 | | |
28 | 18 | | |
29 | | - | |
| 19 | + | |
30 | 20 | | |
31 | 21 | | |
32 | 22 | | |
| |||
0 commit comments