125 Commits

Author SHA1 Message Date
7e32620e16
Merge branch 'dev' 0.1.2 2023-10-05 23:41:23 +01:00
ba359c0152 Updated zbuild to 0.1.2. 2023-10-05 23:37:54 +01:00
83a1738d41 Added documentation for now command-within-command syntax. 2023-10-05 23:37:46 +01:00
101f78d93e Improved logging implementation. 2023-09-13 08:56:59 +01:00
d30c43c208 Upgraded all dependencies. 2023-09-13 08:29:13 +01:00
c268f5599c Watcher::new now takes a Duration for the debouncer timeout. 2023-09-13 08:26:30 +01:00
0b9a8078b6 Updated to rustc 1.74.0-nightly (2f5df8a94 2023-08-31). 2023-09-07 03:43:23 +01:00
ed61b04f93 Fixed arguments being shuffled around. 2023-08-23 15:41:59 +01:00
4662d73997 Added ability to strip a command argument if it fails. 2023-08-23 15:28:54 +01:00
6f5329628a Reworked rule execution to allow recursive commands. 2023-08-23 14:39:35 +01:00
63ce369251 Fixed unhandled case where executable semaphore failed to acquire. 2023-08-23 13:41:29 +01:00
94ecd810ec Updated to rustc 1.73.0-nightly (399b06823 2023-07-20). 2023-08-23 13:30:37 +01:00
1ae8448b11 Expander now carries the manifest lifetime, so it may cache certain results 2023-07-13 12:53:25 +01:00
471ebdecdd Fixed several clippy lints. 2023-07-13 12:51:12 +01:00
559a287117 Fixed compiler crash due to expect lint. 2023-07-13 12:42:10 +01:00
71eb625fb7 Fixed error trace formatting the target with debug output. 2023-07-10 10:39:02 +01:00
b90edfa509 Merge branch 'dev'.
This merge doesn't serve to release any new versions, but just to include the new licensing on the main branch.
2023-07-06 11:00:23 +01:00
065b635cf3 Added license to project. 2023-07-06 10:57:44 +01:00
ff175e0deb Improved variable logging. 2023-07-01 00:07:10 +01:00
c70df6e078 Replaced notify-debouncer-mini with notify-debouncer-full. 2023-07-01 00:00:46 +01:00
b5251cf028 Upgraded all dependencies to latest. 2023-06-30 23:53:37 +01:00
469e62a506 Added hack to ensure (some) removed files still get watched. 2023-06-30 23:50:35 +01:00
a001754a3c Changed default watcher timeout to 0ms, to default to no timeout. 2023-06-30 23:43:47 +01:00
1a66fcdad7
Build execution times are now logged as trace instead of debug. 2023-06-30 22:50:18 +01:00
f6de0959a2 Fixed deprecated option in rustfmt.toml. 2023-06-28 17:59:05 +01:00
875adccd4a Fixed wrong doc link. 2023-06-18 17:50:56 +01:00
9db44fbee3 Added and moved lints to Cargo.toml. 2023-06-18 17:42:59 +01:00
dc80c25ace Updated to rustc 1.72.0-nightly (871b59520 2023-05-31). 2023-06-18 17:28:11 +01:00
41344853b6 Reduced some tracing::infos to debugs.
Built targets are now also output using `println`.
2023-03-17 04:05:11 +00:00
d419fd845f Expander::expand_expr now returns an Expr. 2023-02-13 09:53:11 +00:00
7f305b25fa Separated ast patterns and aliases into their own types. 2023-02-13 08:45:30 +00:00
8aa54e0cb0 Build logging is now deduplicated when multiple reverse dependencies exist. 2023-02-12 08:29:19 +00:00
7fa2def774 Added timeout argument for watcher. 2023-02-12 08:25:47 +00:00
96cd53ecbe Updated to rustc 1.69.0-nightly (c18a5e8a5 2023-01-25). 2023-02-12 08:11:11 +00:00
a9167f8fa9 Removed allocation when using default rules. 2023-01-09 08:20:36 +00:00
955c433077 Removed dead functions. 2023-01-09 08:17:03 +00:00
b2aeef5772 Slightly revised some weird syntax. 2023-01-09 08:15:26 +00:00
991822585f Fixed panic when number of jobs specified is 0 2023-01-08 17:45:29 +00:00
6d54d411bb Now using a sync fs::read_to_file, as it can't run concurrently with anything else. 2023-01-08 17:39:04 +00:00
a73e53f699 Added note on necessary cloning. 2023-01-06 14:52:41 +00:00
b0e05d5367 Added serialization support for ast. 2023-01-06 14:46:06 +00:00
368b3b47d3 debug and trace now don't interpolate arguments. 2023-01-06 14:29:32 +00:00
a4aa94d68e Removed CowArcStr.
Most `Rules` members now use a `CowStr` or `&str` to store strings.
Watcher now receives events locally instead of on a separate task.
Watcher can now watch new dependencies as they're used.
2023-01-06 09:40:42 +00:00
2fe6998408 Fixed derive impls on CowArcStr not working as intended.
`Rules` now stores aliases as a `CowArcStr`.
Rules are no longer built on a separate thread (due to borrowing issues with `Rules`).
2023-01-06 07:36:20 +00:00
a3c57dc741 Rules now stores aliases as a CowArcStr. 2023-01-06 06:57:30 +00:00
43e798c56f Rules now stores it's aliases as CowStr. 2023-01-06 06:19:05 +00:00
2c09d5b98b Moved CowStr alias to util. 2023-01-06 06:14:15 +00:00
d12ebf6669 Renamed file-log to log-file.
Revised some top-level logging
2023-01-05 05:35:32 +00:00
d20eccafee Added optional file logging. 2023-01-05 05:21:17 +00:00
b4cd102146 Now using expect instead of allow where an error is expected. 2023-01-01 22:56:37 +00:00