Commit graph

1579 commits

Author SHA1 Message Date
bors[bot]
55083fb3cc
Merge #736
736: More `xtasks` and add examples to `rtic` repo r=korken89 a=datdenkikniet

This was in #732 before, but decluttering that PR seemed sensible

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-16 19:19:09 +00:00
datdenkikniet
b7e4498a71 Also allow denying for QEMU, and fix the link-arg problem caused by
overriding RUSTFLAGS
2023-04-16 14:14:49 +02:00
bors[bot]
56bf829931
Merge #732
732: Docs 1 r=korken89 a=datdenkikniet

Going over all of the subprojects and trying to find stuff that may need docs

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-16 12:05:20 +00:00
datdenkikniet
2b9e8cbf1f Fix UI test 2023-04-16 13:35:06 +02:00
datdenkikniet
e4b673646a Tests should always deny warnings 2023-04-16 13:30:23 +02:00
datdenkikniet
0ee2d2c2db Actually chain these 2023-04-16 13:27:54 +02:00
datdenkikniet
319c2263f3 Also print extra env variables as cmd_str 2023-04-16 13:27:46 +02:00
datdenkikniet
bc92e43b11 Rename + better printout 2023-04-16 13:22:10 +02:00
datdenkikniet
85e2cd6d4b Also always deny warnings for doc 2023-04-16 13:16:28 +02:00
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