From 3cdce7489983f4459249c879c563a590cebd556e Mon Sep 17 00:00:00 2001 From: Neil Mitchell Date: Tue, 3 Jun 2014 08:54:59 +0100 Subject: [PATCH] #1, add a SCons example of digest --- README.md | 2 +- examples/digest-scons | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 examples/digest-scons diff --git a/README.md b/README.md index 83b30d2..718385e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/digest-scons b/examples/digest-scons new file mode 100755 index 0000000..d0b6318 --- /dev/null +++ b/examples/digest-scons @@ -0,0 +1,4 @@ +import os +env = Environment(ENV = os.environ) +env.AppendENVPath('PATH','.') +env.Command('output','input','sh digest-run $SOURCE -- $TARGET')