109 Commits

Author SHA1 Message Date
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
5435385e16 Removed unused rustc features. 2023-01-01 22:53:53 +00:00
1ba666d853 Removed unused dependencies.
Cleaned up `Cargo.toml` dependencies.
2023-01-01 22:46:56 +00:00
6d7677d7bb Upgraded all dependencies 2023-01-01 22:39:54 +00:00
c64627f65b Updated zbuild to 0.1.1. 0.1.1 2023-01-01 22:20:29 +00:00
7399cab1de Added a note on the --watch flag. 2023-01-01 22:16:45 +00:00
ad26482ce1 Updated the guide to the newer additions. 2023-01-01 22:13:20 +00:00
34b2abc732 Updated example and created it on examples/. 2023-01-01 22:02:55 +00:00
4c0e3cfe18 Fixed panic when target file was already built. 2023-01-01 21:59:25 +00:00
f2a7a51439 Fixed --path option sometimes not working. 2023-01-01 21:58:00 +00:00
200795e1aa Fixed cut-off error messages in build_target. 2022-12-31 23:37:38 +00:00
85bffef667 Removed duplication of target building. 2022-12-31 23:09:03 +00:00
e93439d68b Watcher no longer exits when a build fails. 2022-12-31 22:48:35 +00:00
dd6e0f46da Zbuild now waits when a build fails instead of exiting early. 2022-12-31 22:42:06 +00:00
3eb3a86f08 Updated to rustc 1.68.0-nightly (9c07efe84 2022-12-16). 2022-12-31 22:20:26 +00:00
cce1a6bd37 Updated to rustc 1.67.0-nightly (215e3cd21 2022-11-03) 2022-12-03 05:07:05 +00:00
8076364073 Command executions now run on their own thread.
This solves issues with execution timings being much larger than actually observed.
2022-10-10 20:55:43 +01:00