Commit graph

71 commits

Author SHA1 Message Date
datdenkikniet
404867cdf9 CargoCommand can take any package 2023-04-16 13:08:46 +02:00
datdenkikniet
9dc9f49263 Use chdir() instead of unstable option, also confirm whenver a command succeeds because
why not
2023-04-16 13:08:46 +02:00
datdenkikniet
deeb3877f0 Improve locality of error messages & ExampleBuild + Qemu commands, and
indicate failure earlier
2023-04-16 13:08:46 +02:00
datdenkikniet
1c84ccf6e4 Fix running of tests 2023-04-16 13:08:46 +02:00
datdenkikniet
d838286de6 Fix config pickup behaviour so that both examples and usage-examples build
correctly
2023-04-16 13:08:46 +02:00
datdenkikniet
859cd418f0 Rename some things 2023-04-16 13:08:46 +02:00
datdenkikniet
6517a4bec2 Also check for CommandErrors in error checking 2023-04-16 13:08:46 +02:00
datdenkikniet
fa8af4cbcf Add the most important message 2023-04-16 13:08:46 +02:00
datdenkikniet
63b7024cb9 xtask: build usage examples and general improvements 2023-04-16 13:08:46 +02:00
datdenkikniet
aeeb623a70 Don't print no cargo args here either 2023-04-15 15:32:33 +02:00
datdenkikniet
b11b4f8cdd Missed a paren 2023-04-15 15:16:43 +02:00
datdenkikniet
c6f4b834c1 Fix fmt 2023-04-15 14:43:40 +02:00
datdenkikniet
feb00a9755 Add support for "feature mixer" 2023-04-15 14:32:32 +02:00
datdenkikniet
622a58db5a Also log command with enough verbosity 2023-04-15 13:55:56 +02:00
datdenkikniet
461023e3b8 More emojis and correct place for things 2023-04-15 13:45:58 +02:00
datdenkikniet
df69b35c25 More housekeeping and making it work that bit better 2023-04-15 13:21:09 +02:00
datdenkikniet
cefb622cf8 Make all globals actually global 2023-04-15 13:17:59 +02:00
datdenkikniet
3458288946 Oops, these aren't std-only 2023-04-15 12:38:17 +02:00
datdenkikniet
525703358b Rework command execution structure and make rayon optional (since it's not necessarily faster
due to workspace wide lockfile contention)
2023-04-15 12:33:46 +02:00
datdenkikniet
1ccca03a70 Use pretty_env_logger instead 2023-04-15 10:10:04 +02:00
datdenkikniet
480aa21059 Always run stuff for all packages if none is specified 2023-04-15 10:03:52 +02:00
datdenkikniet
4adae80f2d xtask: don't add default arguments if building for a no_std target 2023-04-15 01:08:28 +02:00
datdenkikniet
18522122f1 xtask: forward globals through the chain and add stderr-inheritance flag 2023-04-15 01:08:28 +02:00
datdenkikniet
fa92d8abe7 Add some QoL to run_command 2023-04-15 00:09:50 +02:00
datdenkikniet
25c2c59a42 Add feature to xtask test for rtic-time 2023-04-10 10:57:22 +02:00
Henrik Tjäder
88b435c2f8 xtask: Fix cargo fmt logmsg 2023-03-15 20:32:58 +01:00
Henrik Tjäder
96aa385b55 xtask: Change default loglevel 2023-03-15 20:32:39 +01:00
Henrik Tjäder
a5ede5408c xtask: rtic-monotonics: no tests argument 2023-03-04 21:32:37 +01:00
Henrik Tjäder
62e687242a ci: Add v6 uitest feature 2023-03-04 21:03:46 +01:00
Henrik Tjäder
3789798e33 xtask: clippy fixes 2023-03-04 20:52:29 +01:00
Henrik Tjäder
2e63f5bca3 ci: Add rtic-uitest feature
Fixes the trybuild ui tests for rtic crate
2023-03-04 20:22:45 +01:00
Henrik Tjäder
0723310ff7 xtask: Book: Allow fully custom arguments 2023-03-04 00:08:11 +01:00
Henrik Tjäder
81ca906043 xtask: Rename: name->command, command->executable 2023-03-02 22:02:54 +01:00
Henrik Tjäder
3908cbf7e8 xtask: Allow passing arguments to book and doc 2023-03-02 22:02:19 +01:00
Henrik Tjäder
39a06368c8 xtask: rtic-sync 2023-03-02 19:40:50 +01:00
Henrik Tjäder
c4ee8e8f02 xtask: check and clippy, test without target 2023-03-01 00:59:06 +01:00
Henrik Tjäder
fae15db216 xtask: Split out cargo commands 2023-03-01 00:35:28 +01:00
Henrik Tjäder
512bab17cc xtask: Split out arg parsing 2023-03-01 00:35:27 +01:00
Henrik Tjäder
a575266ec2 xtask: Add tests, clean a bit 2023-03-01 00:35:27 +01:00
Henrik Tjäder
14457da4f8 xtask: Add book building 2023-03-01 00:35:27 +01:00
Henrik Tjäder
8b3aa7f346 xtask: Cleanup check and build 2023-03-01 00:35:27 +01:00
Henrik Tjäder
91be97d33f xtask: Rename cargoarg to cargologlevel 2023-03-01 00:35:27 +01:00
Henrik Tjäder
ff49889890 xtask: Reorder commands 2023-03-01 00:35:26 +01:00
Henrik Tjäder
a73a8d63cf xtask: Add docs building 2023-03-01 00:35:26 +01:00
Henrik Tjäder
bb8621f2d7 xtask: Do not add rtic features to all workspace crates 2023-03-01 00:35:23 +01:00
Henrik Tjäder
18c843b550 xtask: Add format and format-check 2023-03-01 00:35:22 +01:00
Henrik Tjäder
aa30d1d251 xtask: Default backend needs no argument
Propagate features for check and build
2023-03-01 00:35:21 +01:00
Emil Fresk
4442c46926 Update backend features to be more clear 2023-03-01 00:35:21 +01:00
Emil Fresk
9552790dcc Fix xtask to work with backends 2023-03-01 00:35:20 +01:00
Henrik Tjäder
10a896ab9b xtask: Propagate stdio/stderr, exitcodes 2023-03-01 00:35:18 +01:00