Commit graph

40 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
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
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
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
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
c4ee8e8f02 xtask: check and clippy, test without target 2023-03-01 00:59:06 +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
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
18c843b550 xtask: Add format and format-check 2023-03-01 00:35:22 +01:00
Henrik Tjäder
10a896ab9b xtask: Propagate stdio/stderr, exitcodes 2023-03-01 00:35:18 +01:00
Henrik Tjäder
806b3668e8 xtask: Major overhaul
Fix error printouts for examples,
Rename BuildAll -> Build
Rename Build -> ExampleBuild

Command interface changed, targets by defalt only v6 and v7
2023-03-01 00:35:15 +01:00
Henrik Tjäder
50e1d2d129 Upgrade to clap v4, use log and env_logger 2023-03-01 00:35:14 +01:00
Henrik Tjäder
9e445b3583 Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
Emil Fresk
306aa47170 Add rtic-timer (timerqueue + monotonic) and rtic-monotonics (systick-monotonic) 2023-03-01 00:33:31 +01:00
Emil Fresk
cd790a9428 More work on new spawn/executor 2023-03-01 00:33:29 +01:00
Emil Fresk
9a67f00a30 Fix typos 2023-03-01 00:33:28 +01:00
Emil Fresk
582c602912 Old xtask test pass 2023-03-01 00:31:01 +01:00
Emil Fresk
d6edeb6a64 Fix CI error caused by critical-section 0.2.8 2022-12-14 21:28:29 +01:00
Emil Fresk
ef4e4aaaa3 cargo xtask is now ~40x faster 2021-12-26 11:05:35 +01:00
Emil Fresk
b71df58f2f The great docs update 2021-09-23 16:11:04 +02:00
Lotte Steenbrink
d172df6f0a implement run-pass tests as xtasks
`
2021-09-16 16:31:30 +02:00