82 Commits

Author SHA1 Message Date
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
13399d8c2d Command execution is now measured. 2022-10-10 17:48:46 +01:00
7c696c9661 Added optional dependencies. 2022-10-10 17:17:05 +01:00
de247e7781 Added --ignore-missing flag. 2022-10-09 16:22:42 +01:00
b07fbe063b Added a todo.
Fixed ast being printed with `#?`
2022-09-26 09:11:46 +01:00
24572190ad Paths are now normalized where possible. 2022-09-26 08:56:40 +01:00
ac4021cd5c Locks are now implemented at the rule-level. 2022-09-26 07:41:50 +01:00
d441bd13f0 Builder::build now only returns the dependency lock if successfully built. 2022-09-26 06:26:46 +01:00
2983f20a80 Clarified dependency result calculation 2022-09-25 12:36:59 +01:00
7ab8bf7aeb Cleaned up ast borrowed strings a bit. 2022-09-24 23:24:50 +01:00
e3d042a38a Ast now borrows all strings from the deserializer. 2022-09-24 23:18:53 +01:00
31442ac356 Ast now borrows from the deserializer where possible. 2022-09-24 22:36:40 +01:00
c71c8a7291 Aggregated all expand functions into a single type. 2022-09-24 07:51:55 +01:00
ad877386dd Moved build locks into it's own module. 2022-09-24 06:57:19 +01:00
65c5a6a618 Removed unused BuildResult::latest. 2022-09-24 06:52:10 +01:00
8268132741 Added some restriction clippy lints. 2022-09-24 01:55:27 +01:00
03da0ddaf4 Added some nursery clippy lints. 2022-09-24 01:30:13 +01:00
bfd3d0adbc Added some pedantic clippy lints. 2022-09-24 01:25:09 +01:00
c53bcbfb0d Moved is_static query inside of targets. 2022-09-24 01:15:40 +01:00
d8ab30c7ae Replaced std::fs usages with tokio::fs where possible. 2022-09-24 00:35:27 +01:00
5a010019b5 Builder now locks all dependencies when building target.
Static targets now go through `Builder::build`, when existing instead of being fully ignored. They are will only rebuilt if they don't exist though.
Watcher now properly watches all changes to files.
2022-09-24 00:12:53 +01:00
3fc968749d Replaced BuildStatus with a rwlock wrapper.
Fixed deadlock without `--watch`.
Improved logging throughout the `build` module.
2022-09-23 21:21:25 +01:00
a654b7d781 Started work on dependency watching. 2022-09-22 21:21:16 +01:00
8aab6d64f3 Removed the dependency graph in favor of an event system. 2022-09-22 17:46:59 +01:00
04894498a0 Updated rustc to rustc 1.66.0-nightly (432abd86f 2022-09-20).
Removed unused `deps_graph` function.
2022-09-21 20:44:29 +01:00
6874c3da6e Builder now contains a dependency graph. 2022-09-21 18:04:14 +01:00
db1b3acc2c
Updated some comments in the building process. 2022-09-21 13:22:26 +01:00
a025518c54 Added a usage guide.
Slightly updated readme.
0.1.0
2022-09-20 17:28:54 +01:00