Commit graph

1620 commits

Author SHA1 Message Date
datdenkikniet
799e5bf357 Placate clippy 2023-04-16 13:08:46 +02:00
datdenkikniet
2db26c1015 Deny on warnings in xtasks 2023-04-16 13:08:46 +02:00
datdenkikniet
4d3361658b Unconditionally deny warnings for clippy 2023-04-16 13:08:46 +02:00
datdenkikniet
fd011cd5ec FIx printing for Run and Qemu 2023-04-16 13:08:46 +02:00
datdenkikniet
65f1f4c1b7 Also separate all results and data 2023-04-16 13:08:46 +02:00
datdenkikniet
b87d55f960 Move run into a subdirectory and split iter stuff into a module 2023-04-16 13:08:46 +02:00
datdenkikniet
c6b43800d2 Move all run-related stuff into run 2023-04-16 13:08:46 +02:00
datdenkikniet
66a3d02b45 Rename cargo_commands -> run
Rename command -> cargo_command
2023-04-16 13:08:46 +02:00
datdenkikniet
b59bf686c1 Redo command building so that we don't repeat as much, and to
make it easier to add new ones
2023-04-16 13:08:46 +02:00
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
eac593e300 Check usage examples in CI 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
cba786529a examples: pin to specific version 2023-04-16 13:08:46 +02:00
datdenkikniet
093d64500d examples: commit Cargo.lock files 2023-04-16 13:08:46 +02:00
datdenkikniet
0411ed10b1 stm32f3_blinky: update to latest version 2023-04-16 13:08:36 +02:00
datdenkikniet
dc02818ef1 rp2040_local_i2c_init: update to latest version 2023-04-16 13:08:36 +02:00
datdenkikniet
5a9135961f Split remove old examples 2023-04-16 13:08:35 +02:00
datdenkikniet
cb83309462 RTIC uses nightly now :) 2023-04-15 19:19:49 +02:00
datdenkikniet
1e93400325 rtic: allow docs.rs to build docs 2023-04-15 19:19:49 +02:00
datdenkikniet
9e340c253e Remove unused 2023-04-15 19:19:49 +02:00
datdenkikniet
2ba09dd68d rtic-macros: wrap everything in macro_rules! to improve the error experience and
royally **** up the DX experience (for lib.rs in rtic-macros, at least :P)
2023-04-15 19:19:49 +02:00
datdenkikniet
68ccf0423d rtic-common: rename LinkedList to DoublyLinkedList 2023-04-15 19:19:49 +02:00
datdenkikniet
068eea8425 rtic-common: docs 2023-04-15 19:19:49 +02:00
datdenkikniet
822eaabec0 rtic-time: Docs 2023-04-15 19:19:49 +02:00
datdenkikniet
dcbd7ce970 rtic-sync: smoe more docs 2023-04-15 19:19:49 +02:00
datdenkikniet
401c636215 rtic-monotonics: Add some docs 2023-04-15 19:19:49 +02:00
bors[bot]
ef8046b060
Merge #734
734: QoL + fixes for `xtasks` r=korken89 a=datdenkikniet

Preferably merge this before #732

Draft till I get around to fixing "no package" -> "all packages" on `xtask build` (and probably others)

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-15 16:08:33 +00:00
datdenkikniet
aeeb623a70 Don't print no cargo args here either 2023-04-15 15:32:33 +02:00
datdenkikniet
51284efd0e Add more default members 2023-04-15 15:24:41 +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
f2115e3d47 Unbrick cargo xtask build 2023-04-15 01:08:28 +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