Commit 98780f2
authored
Check assets:precompile and assets:clobber are defined before enhancing (#70)
* Check assets:precompile is defined before enhancing
As "Sprockets is not a dependency", we should not
assume that the assets:precompile task will be defined. If it's not
there, we should just skip enhancing it.
* Check assets:clobber is defined before enhancing
As "Sprockets is not a dependency", we should not
assume that the assets:precompile AND assets:clobber tasks will be defined. If it's not
there, we should just skip enhancing it.1 parent a1bcd96 commit 98780f2
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments