Thomas Nagy
b95cd931fd
Improve process_rule cache accuracy
2016-12-23 18:06:57 +01:00
Thomas Nagy
1c63e4d7ee
Simplify TaskGen.process_rule
2016-12-22 18:28:03 +01:00
Thomas Nagy
3c22fd412e
Fix chmod with tuple rules #1884
2016-12-22 12:07:08 +01:00
Thomas Nagy
dbcda7ec6a
Fix the inconsistent partial detection for #1865
2016-11-26 19:30:53 +01:00
Thomas Nagy
906bf781ac
Cleanup for #1865
2016-11-26 11:51:20 +01:00
Gustavo J. A. M. Carneiro
421e0e3ab9
Accept functools.partial() as a task rule #1862 ( #1865 )
...
Accept functools.partial() as task generator rules #1862
2016-11-26 11:00:01 +01:00
Thomas Nagy
6ecf6390a8
Better error message on method cycle detection
2016-11-05 11:56:08 +01:00
Thomas Nagy
86e9c0527c
Cleanup
2016-11-03 22:42:17 +01:00
Thomas Nagy
410d1568d5
Better error message for 'File %r has no mapping in %s'
2016-09-15 22:00:26 +02:00
Thomas Nagy
8797425153
Expose Python3 timeout on Task.timeout and bld(rule=..., timeout=...)
2016-09-10 12:32:01 +02:00
Thomas Nagy
ebc0048eb0
Use if/else blocks instead of and/or in python 2.5
2016-07-14 17:45:49 +02:00
Thomas Nagy
ef48d49260
Remove update_outputs from the documentation
2016-06-25 22:48:47 +02:00
Thomas Nagy
eaa83004c8
Api docs
2016-06-25 16:23:06 +02:00
Thomas Nagy
ef6525c0bf
Api docs
2016-06-25 14:49:27 +02:00
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