Thomas Nagy
02a8361149
Beautify Logs.{debug,error,info,warn} now that the formatting bug is fixed
2016-05-28 16:18:51 +02:00
Thomas Nagy
b1f5c0f814
Create installation tasks directly
...
Task generators created from other task generators may be
skipped during partial builds. This change re-enables
install_task as a task attribute and provides a task
object with input and output nodes which can be re-used
by other tasks.
2016-05-06 15:54:36 +02:00
Thomas Nagy
6c21deb583
install_task -> install_tg
2016-05-03 23:14:10 +02:00
Thomas Nagy
ba1932ebc2
Do not define the empty prec object on task_gen instances by default
2016-04-26 19:22:56 +02:00
Thomas Nagy
9133dbc5c9
Cleanup: no need for keys() everywhere
2016-04-22 21:10:22 +02:00
Thomas Nagy
44db1efc02
Enable regexp objects in @extension besides strings for file extensions
2016-04-22 19:27:22 +02:00
Thomas Nagy
fd2981f91f
Remove Task.dep_vars as it is unnecessary
2016-04-16 13:05:27 +02:00
Thomas Nagy
a64a8d1d29
Extend relative cwd processing to Task generators
2016-03-23 22:28:14 +01:00
Thomas Nagy
a08aff6bff
Format debug/info records lazily
2016-03-19 14:46:22 +01:00
Thomas Nagy
e19c0e7e77
Simplification, no need to use item ids anymore
2016-03-16 20:11:24 +01:00
Thomas Nagy
0970eb86cb
docs
2016-03-15 22:06:10 +01:00
Thomas Nagy
a167bcce5f
Better error message
2016-01-15 23:53:17 +01:00
Thomas Nagy
f73d3f1a2f
Misleading attribute never_skip, replaced by always_run
2015-12-25 17:54:10 +01:00
Thomas Nagy
7681bddfb7
Remove Node.sig and Node.cache_sig
2015-12-23 17:55:44 +01:00
Thomas Nagy
c2605e4dbb
Honor chmod on subst and rule when provided - Issue 1650
2015-11-07 00:29:03 +01:00
Thomas Nagy
02b8aafb8e
Let chmod on subst change the permissions for all files created (not just the first one)
2015-11-05 18:05:32 +01:00
Thomas Nagy
48e48babb4
Override rule function outputs - Issue 1598
2015-09-07 21:03:16 +02:00
Thomas Nagy
d68e1ff072
Handle non-string and non-list values in substitutions (subst)
2015-02-07 22:27:54 +01:00
Thomas Nagy
ca497f062b
Support more header extensions in subst/is_copy
2015-01-27 22:27:45 +01:00
Thomas Nagy
49f9cd2aa4
Issue 1494 - Use the upper class just in case
2014-10-07 18:31:00 +02:00
Thomas Nagy
fcc950dd46
Short build outputs by default in waf 1.8
2014-09-27 16:35:33 +02:00
Thomas Nagy
6be13a74bb
cosmetic change: have you forgotten to load a waf tool?
2014-05-18 17:53:03 +02:00
Thomas Nagy
15f24dc7d6
Fix for bld(features='subst', fun=xyz)
2014-03-11 01:18:58 +01:00
Thomas Nagy
584bc46c55
Let subst_fun write empty files
2014-03-09 18:56:12 +01:00
Thomas Nagy
3581b89fbb
Enable custom regexp in bld(features='subst', re_m4=...)
2014-01-14 19:58:45 +01:00
Jérôme Carretero
33a60e79e7
treecleaner: 'in [...]' replaced by 'in (...)' where appropriate
2014-01-05 16:27:06 -05:00
Thomas Nagy
b13e98f1e4
Match file extensions in the order of declaration
2013-10-27 12:42:41 +01:00
Jérôme Carretero
12b5c2f2a4
TaskGen: create_task: allow passing attributes to task instance via kw
...
use case: some programs want to run in specific folders
2013-09-05 00:48:00 -04:00
Thomas Nagy
57eaf369c5
extend the subst task to support other copy modes such as hard linking
2013-05-05 22:54:19 +02:00
Thomas Nagy
e0820153c8
Make demos/subst work in Python 3.2
2012-11-11 22:58:50 +01:00
Thomas Nagy
a1d0f9c13e
force a stable name in bld(rule=...)
2012-10-17 18:50:20 +02:00
Thomas Nagy
c85678dc4a
hash subst_fun
2012-10-10 22:52:30 +02:00
Thomas Nagy
43277c8e77
provide bld(features='subst', subst_fun= fun(task, text)) for convenience
2012-10-08 18:30:47 +02:00
Thomas Nagy
da45e165fb
missing install_path processing on bld.subst targets
2012-08-05 17:35:17 +02:00
Thomas Nagy
efad53b370
docs
2012-06-12 19:24:53 +02:00
Thomas Nagy
1d0f1c9b21
Python 3 makes the 'encoding' parameter mandatory on all I/O operations
2012-06-05 04:31:31 +02:00
Thomas Nagy
b188419d09
missing line for Issue 1164
2012-05-08 21:58:44 +02:00
Thomas Nagy
440fd37dfa
Issue 1164
2012-05-08 19:01:30 +02:00
Thomas Nagy
062c5cae1a
add default constraints on the case subst:foo.in->foo.h for convenience purposes
2012-04-08 21:24:42 +02:00
Thomas Nagy
c3067e0912
In the file copy, ensure that the parent folder is created
2012-04-02 01:56:24 +02:00
Thomas Nagy
3987a8e7fd
subst source/target may be a node object
2012-04-02 01:48:22 +02:00
Thomas Nagy
4f9efc66a5
bad import
2012-04-02 01:42:35 +02:00
Thomas Nagy
640ad5b61d
extend bld.subst for the copy case
2012-03-29 00:04:34 +02:00
Thomas Nagy
5435fda557
Optimize the processing of the targets in bld(rule=)
2012-02-20 02:28:10 +01:00
Thomas Nagy
d85051b7d6
Limit the amount of similar tasks created by bld(rule=...) by using a cache by default
2012-02-20 01:45:33 +01:00
Thomas Nagy
60686b8ef7
fix for python 3.2
2012-02-15 22:03:08 +01:00
Thomas Nagy
634a9ed606
clean up for waf 1.7
2012-02-04 19:41:51 +01:00
Thomas Nagy
bfca082c42
Cleanup for waf 1.7
2012-02-04 19:39:45 +01:00
Thomas Nagy
4bb247a623
missing import
2011-12-17 22:39:57 +01:00
Thomas Nagy
4bb4ff5993
chmod in the build directory with features=subst
2011-11-23 21:36:16 +01:00