Commit Graph
65 Commits
Author SHA1 Message Date
josh 150960246b Improve DSL method documentation - close #164 2024-03-17 20:08:06 -04:00
josh 132d22e886 Ruby 3.2 compatibility - close #163 2022-08-05 16:40:48 -04:00
josh b3df37e9ea Do not configure for clean tasks when not yet configured - close #158 2022-03-13 22:27:16 -04:00
josh 1bf1c30242 Load configure task arguments before early configure operations - close #157 2022-03-13 20:16:01 -04:00
josh b932380b3b Avoid running configure operation twice - close #156 2022-03-11 21:17:07 -05:00
josh bb4657e465 Process environments created during task execution phase 2022-02-27 16:55:59 -05:00
josh 29ca9b3f13 Fix YARD warnings 2022-02-27 16:40:09 -05:00
josh 59f1a89f4f Add -A CLI flag to show all tasks 2022-02-27 12:41:47 -05:00
josh ea66501311 Show variants in -T output 2022-02-22 15:46:19 -05:00
josh 8269a98d01 Add variants - close #137 2022-02-20 08:54:33 -05:00
josh 19dee2b2a5 Add variants - #137
Add build script methods: variant, variant_group, with_variants
2022-02-16 12:23:30 -05:00
josh 5b6353395d Store configure task parameters in configuration cache data - close #151 2022-02-14 21:52:35 -05:00
josh 7e5c6e6b12 Store task parameter values in a Hash 2022-02-13 12:46:26 -05:00
josh 44f61da571 Only configure if necessary - close #131 2022-02-12 23:18:00 -05:00
josh 5c28e557bd Sort task output with -T 2022-02-12 22:14:10 -05:00
josh ef7e9259cb Add shortcut method for creating environments - close #149
Add env() method to create environments.
Process all environments created at build script top level before
executing any autoconf-enabled tasks, or if no tasks are specified by
the user.
2022-02-12 21:59:52 -05:00
josh bd9cf55b85 Add tasks - close #139 2022-01-30 13:45:06 -05:00
josh b0f2bbb7d5 Support environment variable to set rscons build directory - close #145 2022-01-17 18:02:58 -05:00
josh 97dbaeb82d Move rsconscache into build directory - close #136 2022-01-09 23:08:28 -05:00
josh d1a35501ef Support subsidiary Rsconscript files - close #125 2021-10-22 13:58:38 -04:00
josh 556c821cc6 Commonize error handling across all operations 2021-10-21 18:35:58 -04:00
josh db49d86866 show a configuration failed message on stderr on configuration failure 2019-10-14 22:57:49 -04:00
josh e62332aba6 avoid backtrace when configuring fails during autoconf 2019-10-14 22:23:18 -04:00
josh cd1c54bf0d update output coloring with highlighting for target and source filenames - close #104 2019-04-30 21:05:44 -04:00
josh a4fead7dc6 show build progress - close #98 2019-04-28 22:40:50 -04:00
josh 59a3cb4e10 verbose mode should list operations and their execution times - close #103 2019-04-27 22:29:18 -04:00
josh 785e8e18fd a clean operation should preserve install target cache info - close #101 2019-04-27 21:39:52 -04:00
josh 49e1bca1f7 uninstall operation should list removed entities in verbose mode - close #102 2019-04-27 21:28:56 -04:00
josh fd054a07c4 implement install and uninstall operations - close #82
add "prefix" construction variable - close #99
add InstallDirectory builder - close #100
2019-04-23 22:01:09 -04:00
josh 328babe1f4 imbue Cache with knowledge of whether a target or directory is for a build or install operation 2019-04-22 22:19:39 -04:00
josh 04fc9866c4 recurse to configure before build rather than calling configure() directly 2019-04-19 14:15:33 -04:00
josh 3115e55739 move Application#determine_n_threads -> Util.determine_n_threads 2019-04-14 15:49:46 -04:00
josh ac1fc6d106 move default construction variables into one place 2019-03-13 21:17:37 -04:00
josh bf136e79f2 rework showing failed command - close #89 2019-02-26 06:52:43 -05:00
josh ab2fa1662f Replace specialized Cache accessors with general #[]/#[]= methods. 2019-02-25 21:22:54 -05:00
josh 68118c2707 Remove Cache dirty-tracking
It really wasn't necessary since Cache#write is not called often.
2019-02-25 21:16:48 -05:00
josh 918c629435 add verbose CLI option to set Environment default echo mode - close #70 2019-01-01 16:15:22 -05:00
josh 347d651ab6 Add builder construction variables to Environments before the builder is added. 2018-12-29 17:57:41 -05:00
josh a98c111cd2 implement distclean operation - close #81 2018-12-17 22:47:00 -05:00
josh f8e6666a2c Add 'build' DSL method.
Disallow processing Environments until configuration is performed.
2018-12-17 22:14:35 -05:00
josh 7c7ee142e0 implement autoconf - close #63, close #68, closes #67 2018-12-03 22:23:42 -05:00
josh 0e27e967d0 configure: fix handling build_dir and prefix options 2018-11-29 22:06:36 -05:00
josh 49116e6b59 store build_dir and prefix configuration options in cache 2018-11-25 16:06:36 -05:00
josh 90300a1606 pass operation options via Hash instead of setting Application attributes 2018-11-25 16:02:04 -05:00
josh bfdf3a12fd load configuration data when constructing a new Environment - close #60 2018-11-23 21:23:19 -05:00
josh 6dd9c835ce store configuration data more opaquely in Cache 2018-11-23 20:15:39 -05:00
josh cfec0dcadc simplify Application/Script/ConfigureOp interaction with direct calls to configure methods 2018-11-23 19:59:47 -05:00
josh add9f9c50d save configured environment construction flags for separate build step - close #60 2018-11-15 17:04:04 -05:00
josh ab4ca71ac7 implement ConfigureOp#check_cfg - not tested yet 2018-11-14 23:28:00 -05:00
josh aba11155a4 rename check_executable to check_program 2018-11-14 23:00:40 -05:00