Commit Graph

188 Commits (master)

Author SHA1 Message Date
Daniel Kolesa 7abc5231f2 update according to libcubescript changes 2016-09-10 23:10:23 +02:00
Daniel Kolesa bb9831479b api fixes 2016-09-07 18:59:22 +02:00
Daniel Kolesa d99d1829b0 api updates 2016-09-02 18:03:42 +01:00
Daniel Kolesa 7f900e12af api fixes 2016-08-30 23:20:21 +01:00
Daniel Kolesa fbfaecc4cc api updates 2016-08-29 18:18:18 +01:00
Daniel Kolesa 4c6b1f15af api update 2016-08-28 18:41:01 +01:00
Daniel Kolesa 1ec5b0febb update api 2016-08-22 18:44:21 +01:00
Daniel Kolesa cdc33aaa8a api update 2016-08-20 16:54:13 +01:00
Daniel Kolesa c2ff36a0a6 update api 2016-08-18 19:47:46 +01:00
Daniel Kolesa 8f75459529 API updates 2016-08-18 19:39:04 +01:00
Daniel Kolesa 27ec4d2aa0 api fixes 2016-08-17 23:07:00 +01:00
Daniel Kolesa 4ebf975060 API fixes 2016-08-17 22:05:04 +01:00
Daniel Kolesa 81c19e2e46 api fixes 2016-08-17 21:21:36 +01:00
Daniel Kolesa cdb7311dd6 update 2016-08-12 04:13:52 +01:00
Daniel Kolesa ad08f62619 api updates 2016-08-12 04:03:03 +01:00
Daniel Kolesa 6ceb1eb8cc api updates 2016-08-11 18:14:42 +01:00
Daniel Kolesa 528d7c7981 api fixes 2016-08-10 18:34:05 +01:00
Daniel Kolesa c34203e721 remove Uint32 use 2016-08-06 19:13:06 +01:00
Daniel Kolesa e5a44d61a2 api updates 2016-08-06 18:38:23 +01:00
Daniel Kolesa cc333d404d utilize code_is_empty for better body detection 2016-08-06 17:33:44 +01:00
Daniel Kolesa 9b9ac972ee no need for namespace 2016-08-05 16:59:17 +01:00
Daniel Kolesa 9f91360299 style fix 2016-08-03 16:50:37 +01:00
Daniel Kolesa 0fc919cb19 minor fixes 2016-08-02 22:49:21 +01:00
Daniel Kolesa e22c8074b8 style 2016-08-02 22:40:24 +01:00
Daniel Kolesa f90a2fe474 merge glob matching into main 2016-08-02 22:37:26 +01:00
Daniel Kolesa e8901e2fae split threadpool into a separate header 2016-08-02 21:49:10 +01:00
Daniel Kolesa 113d18c026 make the threadpool a local 2016-08-02 19:56:34 +01:00
Daniel Kolesa 5bd9f470f4 fixes and cleanups 2016-08-02 19:54:05 +01:00
Daniel Kolesa 196ec1aac9 make deffile a local 2016-08-01 19:51:07 +01:00
Daniel Kolesa af8d4ecf88 cs api updates 2016-08-01 19:34:04 +01:00
Daniel Kolesa fd80166574 update to newest libcubescript api 2016-08-01 19:17:44 +01:00
Daniel Kolesa b27a70a543 update to newer libcubescript api 2016-08-01 00:39:41 +01:00
Daniel Kolesa ef51bcb828 use commandn everywhere 2016-08-01 00:34:26 +01:00
Daniel Kolesa 7c5223ca19 use add_commandn where possible 2016-08-01 00:16:22 +01:00
Daniel Kolesa a36e9d021a style updates 2016-08-01 00:09:29 +01:00
Daniel Kolesa aee15f8515 use new get_strr API 2016-07-31 00:50:00 +01:00
Daniel Kolesa ba67a72232 use get_code 2016-07-30 21:43:11 +01:00
Daniel Kolesa 2ecef3cbbb use commandn in a few places 2016-07-30 21:02:00 +01:00
Daniel Kolesa 72b4251e90 utilize newly possible move semantics 2016-07-13 18:50:31 +01:00
Daniel Kolesa e4cbbf4227 fix build 2016-07-10 17:54:26 +01:00
Daniel Kolesa 99c1fd2707 move Task to threadpool 2016-04-11 20:01:26 +01:00
Daniel Kolesa 8f97190958 make tasks neither copyable nor movable 2016-04-03 19:13:23 +01:00
Daniel Kolesa d12a8bdf74 simpler getenv 2016-03-25 20:39:06 +00:00
Daniel Kolesa 35b185ee63 use environ module from ostd 2016-03-18 21:54:24 +00:00
Daniel Kolesa 3e539cf4a3 fix shadow warnings 2016-03-04 21:33:42 +00:00
Daniel Kolesa 1f9e80f759 update against libcubescript 2016-02-28 22:21:47 +00:00
Daniel Kolesa 7f91885886 remove globs.hh 2016-02-13 20:47:54 +00:00
Daniel Kolesa b32d27f468 remove ob_get_env 2016-02-12 21:52:47 +00:00
Daniel Kolesa de4003040d trailing newlines 2016-02-07 21:20:44 +00:00
Daniel Kolesa 2c1d1a06f9 match octastd 2016-01-26 19:02:32 +00:00
Daniel Kolesa 20d423b594 get rid of pthread usage (use new octastd threading) 2016-01-23 22:38:59 +00:00
Daniel Kolesa 4618694303 cleanup 2015-12-29 13:55:33 +01:00
Daniel Kolesa 167d216226 minor cleanup 2015-12-28 16:17:20 +01:00
Daniel Kolesa 31e19a5ba4 rule_dup fix 2015-12-27 18:20:47 +01:00
Daniel Kolesa c21d6dc054 print_help takes a bool 2015-12-26 14:29:55 +01:00
Daniel Kolesa 649745d33c cleanups 2015-12-23 13:52:27 +01:00
Daniel Kolesa 5cf74abac6 print help to stderr on wrong arg 2015-12-22 15:05:08 +01:00
Daniel Kolesa cb5b89ce3c no need for full namespace 2015-12-21 14:13:38 +01:00
Daniel Kolesa 6c40623371 use Bytecode object 2015-12-20 00:21:39 +01:00
Daniel Kolesa 1812c06bf6 use the new API for bytecode objects 2015-12-19 16:06:50 +01:00
Daniel Kolesa cc1cfe1328 fix cubescript func refcount 2015-12-18 15:06:42 +01:00
Daniel Kolesa 2e98d0aecd use new libcubescript api 2015-12-16 19:05:09 +00:00
Daniel Kolesa 7fe6ecdf7e small cleanup 2015-12-14 19:20:43 +00:00
Daniel Kolesa bfe9d5aff2 switch to c++14 and make use of generalized lambda capture 2015-12-13 21:10:18 +00:00
Daniel Kolesa 86b28e8e00 remove unnecessary casts 2015-12-08 21:36:55 +00:00
Daniel Kolesa 946aa50b58 don't need the this 2015-12-07 22:37:38 +00:00
Daniel Kolesa ea8c0ff002 abuse inheritance a little 2015-12-07 21:41:37 +00:00
Daniel Kolesa a83cf836cd small simplification 2015-12-06 19:23:03 +00:00
Daniel Kolesa e91b28266f minor fix 2015-12-04 21:59:03 +00:00
Daniel Kolesa a562f4623d better help handling 2015-12-03 19:09:44 +00:00
Daniel Kolesa c0323d2d75 dedup some code 2015-12-02 20:38:10 +00:00
Daniel Kolesa ccb2f7e0e8 minor cleanup 2015-12-01 21:55:19 +00:00
Daniel Kolesa f1af0b747e remove usage of getopt (replace with manual handling until arg parser is complete) 2015-11-30 21:14:59 +00:00
Daniel Kolesa 421b5957ab small cleanup 2015-11-28 20:51:12 +00:00
Daniel Kolesa 4fe2b2f7db merge tpool.hh into main.cc 2015-11-27 22:11:46 +00:00
Daniel Kolesa 52ecc016e8 minor cleanup 2015-11-25 20:37:01 +00:00
Daniel Kolesa 3d9bbc465a use ConstCharRange 2015-11-24 20:14:37 +00:00
Daniel Kolesa c6dd8111bb no need to check this anymore 2015-11-23 21:26:51 +00:00
Daniel Kolesa 550cab584b rule_add cleanup 2015-11-23 21:26:07 +00:00
Daniel Kolesa 6867946e97 make actions always execute regardless of files existing 2015-11-21 18:30:11 +00:00
Daniel Kolesa b3bf83dfc5 improve the duprule command 2015-11-20 16:49:30 +00:00
Daniel Kolesa 077460f53c remove usage of limits.h 2015-11-17 20:19:58 +00:00
Daniel Kolesa 2ed36fe7c9 remove rule-, add duprule to duplicate a rule with new deps 2015-11-14 01:28:07 +00:00
Daniel Kolesa 3f80d998a2 fix incorrect rule find logic (always prefer "exact" rules) 2015-11-14 01:08:27 +00:00
Daniel Kolesa 4b6d9c466a cleanups 2015-11-09 18:51:55 +00:00
Daniel Kolesa 98e99f7c49 don't disown (allocator may not be the same) 2015-11-08 13:45:59 +00:00
Daniel Kolesa ccaae1e418 extreplace is not part of globs system 2015-11-07 16:57:29 +00:00
Daniel Kolesa adf3c0f068 default val arg for getenv, add extreplace for extension subst 2015-11-06 19:38:37 +00:00
Daniel Kolesa d1bb66976e format 2015-11-05 18:43:58 +00:00
Daniel Kolesa ed8b0a428e cleanup rule counters 2015-11-04 17:46:01 +00:00
Daniel Kolesa 201e57916c get rid of the scope hack 2015-11-03 18:34:16 +00:00
Daniel Kolesa d016d629c9 comment the capture behavior 2015-11-01 18:47:31 +00:00
Daniel Kolesa e32a5a86ff no need to disown, we can just copy 2015-11-01 18:45:03 +00:00
Daniel Kolesa 492789f0a4 format fixes 2015-10-31 19:43:39 +00:00
Daniel Kolesa b2814ffe2f add new "depend" command to specify deps 2015-10-30 20:28:18 +00:00
Daniel Kolesa 7d9fac6ae0 add invoke command to exec a rule/action and wait for it 2015-10-29 17:34:33 +00:00
Daniel Kolesa 96c1066c37 default rule is now called default 2015-10-27 18:49:46 +00:00
Daniel Kolesa 1c0772d2e7 add support for actions 2015-10-26 17:58:47 +00:00
Daniel Kolesa 554441518d cubefile is now called obuild.cfg 2015-10-23 20:11:14 +01:00
Daniel Kolesa e758d6e3d8 main func cleanup 2015-10-21 21:09:21 +01:00