658b73e4de
add build test for a builder waiting on another builder
2019-02-17 22:20:51 -05:00
b882f8de99
Rework builder interface to only use #run method - close #91
...
The builder's #run method will be called repeatedly until it returns
true or false. The Builder#wait_for method can be used to cause a
builder to wait for a Thread, Command, or another Builder.
2019-02-17 22:08:39 -05:00
f2cfc25604
Remove Environment#run_builder :allow_delayed_execution option - #84
2019-02-10 22:13:37 -05:00
a1f5f022d1
test build hooks overwriting entire vars hash as a non-backwards-compatiblity test
2019-02-10 22:07:08 -05:00
b41a368da1
alphabetize Util public methods
2019-02-10 21:26:37 -05:00
1b63dc7503
move Environment.parse_makefile_deps to Util
2019-02-10 21:23:52 -05:00
3f8b4d616f
Remove BuildTarget, Builder#create_build_target, and Builder#setup - close #90
2019-02-10 18:24:49 -05:00
aac32d20b0
create Builder instance for each build operation - close #88
2019-02-10 17:27:40 -05:00
12f1909d35
remove a few deprecated methods - #84
2019-01-04 13:55:00 -05:00
31ef45258f
make global CLI options available under subcommands - close #86
2019-01-03 13:50:01 -05:00
918c629435
add verbose CLI option to set Environment default echo mode - close #70
2019-01-01 16:15:22 -05:00
eaac473f44
provide Environment construction option to use stored configuration settings - close #78
2019-01-01 15:49:15 -05:00
fa5aa51daa
Do not rebuild after building after auto-configuration. - close #80
...
Split Environment into BasicEnvironment and Environment.
2018-12-30 15:57:05 -05:00
08085f09c4
libs found with check_lib should be added to LIBS - close #79
2018-12-17 23:05:18 -05:00
a98c111cd2
implement distclean operation - close #81
2018-12-17 22:47:00 -05:00
f8e6666a2c
Add 'build' DSL method.
...
Disallow processing Environments until configuration is performed.
2018-12-17 22:14:35 -05:00
5720662b7c
avoid mkdir() race conditions - close #75
2018-12-11 22:13:52 -05:00
432d221be2
remove build_dir functionality - close #65
2018-12-11 22:06:20 -05:00
7c7ee142e0
implement autoconf - close #63 , close #68 , closes #67
2018-12-03 22:23:42 -05:00
ba69f05e99
remove backtrace from stderr for unknown CLI options - close #69
2018-11-30 23:29:19 -05:00
6180410cc4
add spec for Cache validating JSON contents
2018-11-30 23:11:52 -05:00
2d44a88fb6
add spec for unknown CLI operation
2018-11-30 23:08:16 -05:00
28e3781331
add configure spec testing --prefix
2018-11-30 23:05:41 -05:00
c0a28d0207
add configure spec to check multiple set_define's being stored
2018-11-29 22:14:10 -05:00
0e27e967d0
configure: fix handling build_dir and prefix options
2018-11-29 22:06:36 -05:00
1ecce7e99e
add configure spec to check as much as possible
2018-11-29 22:02:42 -05:00
25b73ebd8f
move logic to find an executable from ConfigureOp to Util
2018-11-29 21:51:30 -05:00
bca963af5c
add configure spec for check_cfg not finding the specified program
2018-11-29 21:28:37 -05:00
ba5377a1ce
add configure specs to check for unknown compiler names
2018-11-29 20:51:24 -05:00
9e0ce5a55c
add spec for check_cfg with a :package argument
2018-11-25 21:58:22 -05:00
b88131eb2f
add specs testing configure :set_define option and fix the same
2018-11-25 21:45:46 -05:00
dff80587ac
move Rscons.absolute_path?() to Util
2018-11-25 21:31:48 -05:00
cd2696dd0b
add Util specs
2018-11-25 21:22:37 -05:00
778d9ed8b2
add simplecov filters to filter out spec/dspec tests when the opposite spec task is executed
2018-11-25 21:11:00 -05:00
82fbd34149
add dspec task to test dist file; revert spec task to normal behavior
2018-11-25 20:45:32 -05:00
7a90325b67
set Environment build root automatically - close #64
2018-11-25 16:58:19 -05:00
1eb07e9a22
use Rsconscript instead of Rsconsfile - close #62
2018-11-25 15:42:53 -05:00
9975eec165
add build test for check_cfg - close #59
2018-11-23 22:23:01 -05:00
bfdf3a12fd
load configuration data when constructing a new Environment - close #60
2018-11-23 21:23:19 -05:00
aba11155a4
rename check_executable to check_program
2018-11-14 23:00:40 -05:00
3b586cb476
implement ConfigureOp#check_lib
2018-11-14 22:53:00 -05:00
88fd4bd405
robustify Ansi module a bit
2018-11-12 21:50:16 -05:00
7869d38dd8
implement ConfigureOp#check_executable
2018-11-07 22:22:07 -05:00
6078cb0977
implement ConfigureOp#check_d_import
2018-11-07 21:49:44 -05:00
85b0111a6e
implement ConfigureOp#check_cxx_header
2018-11-07 21:44:04 -05:00
6bb0a55a55
implement ConfigureOp#check_c_header
2018-11-07 21:39:42 -05:00
95d5ada865
specs: run each build test from separate directory; keep directory if test fails
2018-11-07 21:33:28 -05:00
d656df5407
implement ConfigureOp#check_d_compiler
2018-11-07 19:05:08 -05:00
d54d363a25
implement ConfigureOp#check_cxx_compiler
2018-11-07 18:53:06 -05:00
697db2a987
specs: check_c_compiler: also test when no arguments are given
2018-11-06 22:39:13 -05:00