Commit fe0b51c
committed
Rake task registers database path for rake-cleaning
Rake ships with clean and clobber tasks out of the box.
Now the audit Task can be (optionally) registered for cleaning.
It defaults to off so no change from current behavior. If opted-in, the
audit-database path is added to rake's CLOBBER collection.
Clean is meant to remove temporary and generated files that are the
result of "normal" application runs.
Clobber is intended to be a more exhaustive clean that returns the
application's state to a "fresh cloned" state.
With these conventions, the ruby advisory db fits more cleanly (ha) into
the "clobber" category.1 parent f8b06eb commit fe0b51c
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
112 | 121 | | |
113 | 122 | | |
114 | 123 | | |
0 commit comments