Thomas Nagy
ff8c1828aa
Allow mixing Unix paths with destdir on non-Unix platforms
2021-01-19 20:52:57 +01:00
Thomas Nagy
b864388e12
Fix Build.py indentation
2021-01-19 17:51:01 +01:00
Thomas Nagy
4219f0822c
Reduce verbosity in out-of-tree builds
2020-12-09 08:20:21 +01:00
Thomas Nagy
36a0c12b3b
Rework installation colors
2019-06-02 09:20:29 +02:00
Morten V. Pedersen
1da4160b47
Colors were missing when file already exists
2019-05-27 19:14:18 +00:00
Morten V. Pedersen
396117b4dd
Update colors of install step
2019-05-17 05:46:17 +00:00
James Harris
17b69226c4
Address ntpath bug with empty prefix
...
This patch addresses the bug described in issue #2225 where in using
posix paths and an empty PREFIX value can result in files being
installed to the root of the drive specified by destdir instead of to
the desired prefix value. This is a bug in the assumption that user
specified paths that are strings will contain directory separators that
match the target operating system.
2019-02-18 11:38:45 -06:00
Mickaël Schoentgen
412a9b819e
Fix all DeprecationWarning: invalid escape sequence
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-05 12:02:42 +01:00
Adriano Scoditti
9923a2e22e
Removes hard-coded 'c4che' references using 'Build.CACHE_DIR' instead
2018-10-30 12:00:48 +01:00
jadoro
72ba2cff1e
Interpret relative install paths relative to PREFIX
2018-09-25 13:24:51 +02:00
Thomas Nagy
f09a1c56ca
Fix #2191
2018-08-24 22:41:05 +02:00
Matt Selsky
a10822f688
Fix typos
2018-07-28 19:47:10 -04:00
Thomas Nagy
d21446ff71
Update docs for 2018
2018-01-01 20:53:49 +01:00
Thomas Nagy
2f27d6f52c
Enable 'waf clean' to get the list of files to remove from bld.clean_files
2017-12-23 15:05:29 +01:00
fedepell
eb6c205ad1
Revert "fix load_tool error messages and cover all occourences"
...
This reverts commit 0557256db454a6ab98e4b909be8fd5db9bbb49c2.
The solution is not viable for API change, let's remove this.
2017-11-09 08:26:35 +01:00
fedepell
5d3576af45
fix load_tool error messages and cover all occourences
...
When a tool cannot be loaded the wrong path was displayed on the error
message. sys.path was always displayed but the actual path used depends
on tooldir being passed and on the value of with_sys_path parameter.
I put the exception handling (raising the fatal) inside load_tool itself
as this is the only place where the exact path is known, without having
to recalculate it outside. To be able to use fatal there also the ctx
has to be passed from the various points.
In this way all load_tool exceptions are caught and reported, while before
an exception during configure was not caught for example, just during the
options.
2017-11-09 08:26:35 +01:00
Roland Puntaier
2bbd4b62d5
normpath() to make a 'a/b' variant dir display as 'a\b' on windows
2017-09-30 21:33:41 +02:00
Thomas Nagy
c26f8c12c2
Accept task objects in Build.add_to_group for compatibility reasons
2017-09-23 09:21:51 +02:00
Thomas Nagy
dcc09cb0df
Obtain the exact wscript file path
2017-08-07 08:28:03 +02:00
Thomas Nagy
ee3f706bb7
Encapsulate bld.producer.is_dirty behind an interface
2017-08-06 10:51:59 +02:00
Thomas Nagy
549fe8cd42
Simplify BuilContext.post_group
2017-07-29 09:19:36 +02:00
Thomas Nagy
2dac65fea9
Document BuildContext.get_targets
2017-07-29 09:16:03 +02:00
Thomas Nagy
a768c3114d
Simplify boolean comparisons
2017-04-22 22:08:00 +02:00
Thomas Nagy
4b657a6b62
cleanup
2017-04-22 17:29:00 +02:00
Thomas Nagy
5c4e87bbc6
Workaround ironython systemerror bug
2017-04-22 17:17:33 +02:00
Thomas Nagy
3cee7b36f0
Ensure bld.current_group reflects the current group while building
2017-04-22 15:45:18 +02:00
Thomas Nagy
5ac6123e5e
Cleanup: Break multiple statements on multiple lines
2017-04-17 13:16:57 +02:00
Thomas Nagy
29b32f7a1a
Reflect the current build group in bld.current_group
2017-04-15 15:12:03 +02:00
Matt Selsky
b247ab1c83
Typos
2017-03-27 19:33:16 +02:00
Thomas Nagy
90ab7a2ae9
Cleanup
2017-03-08 18:27:29 +01:00
Justin Israel
6a4091718e
Extend ListContext to print TaskGen descriptions
...
Signed-off-by: Justin Israel <justinisrael@gmail.com>
2017-03-08 18:22:29 +01:00
Thomas Nagy
1c3c49d0fb
Simplify task.inputs/task.outputs usage
2017-02-19 11:05:44 +01:00
Thomas Nagy
b7d93c3c4d
Update the year in headers to 2017
2017-02-11 16:13:37 +01:00
Thomas Nagy
5ac8e882e0
Remove the TaskBase class hierarchy level
2017-02-11 15:04:25 +01:00
Thomas Nagy
2d59e84687
Cleanup
2017-01-30 23:25:30 +01:00
Jan Niklas Hasse
3a7903cebd
Improve error message about version mismatch ( #1902 )
2017-01-30 23:25:18 +01:00
Thomas Nagy
1a8e5c881d
Simplify task un-installation
2017-01-22 14:40:36 +01:00
Thomas Nagy
fb01bf72ab
Remove the BuildContext.rule decorator
2016-12-01 22:57:25 +01:00
Thomas Nagy
443985720f
Do not change permissions on symlinks because this is not used anywhere
2016-10-09 21:41:31 +02:00
Thomas Nagy
4ed44b2e99
Fix the api documentation
2016-10-08 23:29:46 +02:00
Thomas Nagy
f02047b8ea
Add install_user and install_group to bld.install/bld.install_as/bld.symlink_as
2016-10-08 22:35:05 +02:00
Gustavo Jose de Sousa
86da12e56e
Fix error when adding new items to SAVED_ATTRS
...
If something was added to SAVED_ATTRS, the next build command failed because
the saved dictionary in the pickle file didn't have that new key.
2016-08-25 13:10:33 -03:00
Thomas Nagy
850e9ad5fc
Simplify env['FOO'] -> env.FOO
2016-06-25 23:54:12 +02:00
Thomas Nagy
3c132ad97a
Fix a wrong error message when installing to readonly folders
2016-06-25 13:38:48 +02:00
Thomas Nagy
79aece2650
Api docs
2016-06-24 13:21:32 +02:00
Thomas Nagy
75b1423ce8
Winrc processing is almost certainly broken...
2016-06-05 00:01:01 +02:00
Thomas Nagy
062a5263a0
Update conf.check_waf_version to 1.9
2016-06-04 09:33:13 +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
c2646d2380
Provide md5_tstamp by default and make it easier to add more persistent BuildContext dicts
2016-05-21 11:58:47 +02:00
Thomas Nagy
e09a32467f
Fix install_files in the case relative_trick=True
2016-05-20 19:20:54 +02:00