summaryrefslogtreecommitdiffstats
path: root/src/RELEASE.txt
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-02-02 18:35:15 (GMT)
committerSteven Knight <knight@baldmt.com>2003-02-02 18:35:15 (GMT)
commitc7dcf9e7a31681c4a0d7043f2c4406be4e7648e9 (patch)
tree68854e66d53bf8f0bd4b3e95a842033c2d336fd2 /src/RELEASE.txt
parent8c857d116b57450227a1fe4bc822d8b2e5047f54 (diff)
downloadSCons-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.txt16
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