Commit 7d375c6
Rake entrypoint registers Bootsnap's cache_dir for cleaning
The rake entrypoint also allows future rake tasks to be exposed, should
that be necessary. Expected use is via: `require "bootsnap/rake"` from
users' Rakefile.
Additionally, should future rake tasks be provided by bootsnap, the
expectation is that they would live under `lib/bootsnap/tasks/*.rake`
such that user's can add Bootsnap's tasks via: `Rake.add_tasklib`.
The expectation is that rake.rb would contain the task _classes_, and
any tasks/*.rake would define them as tasks. Then users could require
bootsnap/rake to construct their own tasks using the classes, or
add_tasklib to use the provided tasks.1 parent d091162 commit 7d375c6
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments