diff options
author | Steven Knight <knight@baldmt.com> | 2003-02-02 18:35:15 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-02-02 18:35:15 (GMT) |
commit | c7dcf9e7a31681c4a0d7043f2c4406be4e7648e9 (patch) | |
tree | 68854e66d53bf8f0bd4b3e95a842033c2d336fd2 /src/RELEASE.txt | |
parent | 8c857d116b57450227a1fe4bc822d8b2e5047f54 (diff) | |
download | SCons-c7dcf9e7a31681c4a0d7043f2c4406be4e7648e9.zip SCons-c7dcf9e7a31681c4a0d7043f2c4406be4e7648e9.tar.gz SCons-c7dcf9e7a31681c4a0d7043f2c4406be4e7648e9.tar.bz2 |
Add a strfunction() to Command actions, and add an env argument to the FunctionAction.strfunction().
Diffstat (limited to 'src/RELEASE.txt')
-rw-r--r-- | src/RELEASE.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/RELEASE.txt b/src/RELEASE.txt index cc3adc8..d87808b 100644 --- a/src/RELEASE.txt +++ b/src/RELEASE.txt @@ -56,6 +56,22 @@ RELEASE 0.10 - Thu, 16 Jan 2003 04:11:46 -0600 env['BUILDERS']['newbuilder'] = foo + - An "env" argument has been added to the calls to all functions that + return a string for a Python function Action. This makes the string + function and build function calls take the same arguments: + + def build_it(target, source, env): + # build the target from the source + return 0 + + def string_it(target, source, env): + return "building '%s' from '%s'" % (target[0], source[0]) + + a = Action(build_it, string_it) + + If you have defined a strfunction() for a Python function Action, + you will need to add a third "env" argument to your function call. + Please note the following important changes since release 0.09: - The Scanner interface has been changed to make it easier to |