diff options
author | Steven Knight <knight@baldmt.com> | 2002-03-16 04:38:43 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-03-16 04:38:43 (GMT) |
commit | 0bfa6712f6b0ba40f7df806ec35a40fa056f026f (patch) | |
tree | 821e70780eb384562d222a2e8cbfe8f4e78a430d /src/RELEASE.txt | |
parent | d274d685b3fae62354a7c3deb0622e2edd81b0c7 (diff) | |
download | SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.zip SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.tar.gz SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.tar.bz2 |
Make FunctionAction arguments be Nodes, not strings. (Charles Crain)
Diffstat (limited to 'src/RELEASE.txt')
-rw-r--r-- | src/RELEASE.txt | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/RELEASE.txt b/src/RELEASE.txt index 60aca86..733a2ef 100644 --- a/src/RELEASE.txt +++ b/src/RELEASE.txt @@ -20,11 +20,25 @@ more effectively, please sign up for the scons-users mailing list at: -RELEASE 0.05 - Thu, 21 Feb 2002 16:50:03 -0600 +RELEASE 0.06 - - This is the fifth alpha release of SCons. Please consult the + This is the sixth alpha release of SCons. Please consult the CHANGES.txt file for a list of specific changes since last release. + Please note the following important changes since the previous + release: + + - Python functions as Builder actions now take Node objects, not + strings, as arguments. The string representation of a Node + object is the file name, so you should change your function + actions to use the str() built-in function to fetch the file + name: + + def build_it(target = None, source = None, env = None): + print "Building %s from %s" % (str(target), str(source)) + open(str(target), 'w').write(open(str(source), 'r').read()) + return 0 + Owing to an extensive test suite, the SCons team believes that this release is of sufficient quality that you can use it for real work, despite the "alpha" label. |