Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Dec 14, 2020
1 parent 5dc8a12 commit de7c730
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
cargo fix
cargo clippy
cargo build
cd example_shadow && cargo run example_shadow
cd example_shadow && cargo run
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shadow-rs"
version = "0.4.0"
version = "0.4.1"
authors = ["baoyachi <liaoymxsdl@gmail.com>"]
edition = "2018"
description = "A build script write by Rust"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn main() -> shadow_rs::SdResult<()> {

## step 3
In your project find `bin` rust file.It's usually `main.rs`, you can find `[bin]` file with `Cargo.toml`,then add with below config
The `shadow!(build)` with `build` config,add Rust build mod in your project. Also you also use other name that you want configuration.
The `shadow!(build)` with `build` config,add Rust build mod in your project. You can also replace it(build) with other name.

```rust
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
//!
//! ## step 3
//! In your project find `bin` rust file.It's usually `main.rs`, you can find `[bin]` file with `Cargo.toml`,then add with below config
//! The `shadow!(build)` with `build` config,add Rust build mod in your project. Also you also use other name that you want configuration.
//! The `shadow!(build)` with `build` config,add Rust build mod in your project. You can also replace it(build) with other name.
//!
//! ```ignore
//! #[macro_use]
Expand Down

0 comments on commit de7c730

Please sign in to comment.