Skip to content

Commit

Permalink
#1, add a SCons example of digest
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmitchell committed Jun 3, 2014
1 parent ae2056b commit 3cdce74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ The `input` file will be changed, but sometimes to the same value.
* fabricate: unsure
* Make: failure, doesn't support digests
* Ninja: failure, doesn't support digests
* SCons: unsure
* **Shake: success**
* **Shake: success**, requires setting `Digest` change mode.
* tup: unsure

Expand Down
4 changes: 4 additions & 0 deletions examples/digest-scons
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import os
env = Environment(ENV = os.environ)
env.AppendENVPath('PATH','.')
env.Command('output','input','sh digest-run $SOURCE -- $TARGET')

0 comments on commit 3cdce74

Please sign in to comment.