Commit d079c2f
authored
Move cleanup logic into Makefile (#309)
PR #308 brought up the issue that the `clean` command of rebar3 had a
Unix-based script as a `post_hook` that could not be run on Windows.
Rather that adopting #308 and run the risk of leaving out some OSes,
move all cleanup logic, including calling cleanup scripts, to the
Makefile instead. This should avoid `rebar3 clean` crashing on Windows.
While at it, move the `rebar3 clean` call from the `distclean` to the
`clean` target of Makefile, which seems more standard (and kosher).
Closes #3081 parent 3de5f72 commit d079c2f
2 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments