Skip to content

Commit bdd788a

Browse files
committed
test
1 parent 2431e73 commit bdd788a

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313
- uses: dtolnay/rust-toolchain@stable
14+
- uses: extractions/setup-just@v2
15+
- uses: hustcer/setup-nu@v3
1416
- run: cargo install cargo-readme
1517
- run: cargo-readme --help
18+
- run: just -l
1619

1720
# jobs:
1821
# spelling:

justfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Nushell needs to be installeds
1+
# Nushell needs to be installed
22
set shell := ["nu", "-c"]
33

44
shebang := if os() == 'windows' {
@@ -24,6 +24,12 @@ sample-env-file:
2424

2525
echo $content | save .env
2626

27+
# Run cargo-readme to update the readme files
28+
update-readme:
29+
cd stm32cubeprogrammer ; cargo readme | save README.md -f
30+
cd stm32cubeprogrammer-cli ; cargo readme | save README.md -f
31+
cd stm32cubeprogrammer-sys ; cargo readme | save README.md -f
32+
2733
# Run all tests or a specific test with a specific verbosity
2834
# The log level maps to the `log` crate log levels: trace, debug, info, warn, error
2935
test name="" log_level="trace":

stm32cubeprogrammer-sys/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# stm32cubeprogrammer-sys
2+
3+
This crate provides low level bindings to the STM32CubeProgrammer API.
4+
The bindings are generated using bindgen and use the [`libloading`](https://crates.io/crates/libloading) crate to support dynamic loading of the CubeProgrammer API.
5+
6+
License: MIT

stm32cubeprogrammer-sys/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! This crate provides low level bindings to the STM32CubeProgrammer API.
2+
//! The bindings are generated using bindgen and use the [`libloading`](https://crates.io/crates/libloading) crate to support dynamic loading of the CubeProgrammer API.
13
#![allow(
24
non_snake_case,
35
non_camel_case_types,

0 commit comments

Comments
 (0)