Commit graph

45 commits

Author SHA1 Message Date
datdenkikniet
63b7024cb9 xtask: build usage examples and general improvements 2023-04-16 13:08:46 +02:00
datdenkikniet
c6f4b834c1 Fix fmt 2023-04-15 14:43:40 +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
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
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
3908cbf7e8 xtask: Allow passing arguments to book and doc 2023-03-02 22:02:19 +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
Henrik Tjäder
8653823258 xtask: For now test on ARM 2023-03-01 00:35:17 +01:00
Henrik Tjäder
7bcbdf7306 xtask: Fixup, copy paste fail 2023-03-01 00:35:16 +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
d5471f2da4 xtask: Add proper diff printing in case of incorrect results 2023-03-01 00:35:15 +01:00
Henrik Tjäder
6ed64610c9 xtask: Add thumbv8.base thumbv8.main 2023-03-01 00:35:15 +01:00
Henrik Tjäder
afba4c7b14 Improve build time with Rayon 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
81ba62787c xtask: Make target flag optional, default to all targets 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
35c97b61c1 All examples pass with cargo xtask --target all 2023-03-01 00:33:28 +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
7f45254e39 start with a clean ci/builds always 2021-09-20 18:46:15 +02:00
Lotte Steenbrink
7ce4391e4e improve xtask repo root check to not break our fork CI# 2021-09-20 18:46:15 +02:00
Lotte Steenbrink
d172df6f0a implement run-pass tests as xtasks
`
2021-09-16 16:31:30 +02:00