The make
utility lets you see what would be built, without actually building it, by using the command-line option --dry-run
. Does shake
have something equivalent?
Asked
Active
Viewed 88 times
1

Jeffrey Benjamin Brown
- 3,427
- 2
- 28
- 40
2 Answers
2
The output of the --help
flag suggests
--no-build Don't build anything.
is what what you want.

John
- 14,944
- 12
- 57
- 57
-
No build just builds nothing, it doesn't tell you what it would have built, so it's not quite the same. – Neil Mitchell Dec 02 '18 at 15:38
-
Oh I see. My bad. – John Dec 03 '18 at 00:26
2
No, Shake doesn't have an equivalent, but there's a feature request for it at https://github.com/ndmitchell/shake/issues/172. It's not as simple in Shake since which rules are run can depend on the output of previous rules, but I have some ideas of how it could be implemented.
There is a --no-command flag which just skips running command
/cmd
things, which is sometimes sufficient for very specific use cases (but not usually).

Neil Mitchell
- 9,090
- 1
- 27
- 85