-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1003f2
commit b1d5a38
Showing
9 changed files
with
128 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
[package] | ||
name = "cala" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
authors = ["Jeron Aldaron Lau <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
@@ -25,4 +25,4 @@ whoami = "0.5" # user | |
wavy = "0.1" # audio | ||
stronghold = "0.2" # file | ||
serde = "1.0" | ||
stick = "0.5" # joystick / controller | ||
stick = "0.6" # joystick / controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Quality | ||
To ensure the quality of the crate, we use some helpers: | ||
|
||
```bash | ||
# Install tool `cargo fmt` | ||
rustup component add rustfmt | ||
|
||
# Install tool `cargo clippy` | ||
rustup component add clippy | ||
|
||
## # Install tool `cargo semver` | ||
## rustup toolchain add nightly | ||
## cargo +nightly install semverver | ||
|
||
# Install tool `cargo geiger` | ||
cargo install cargo-geiger | ||
|
||
# Install tool `cargo outdated` | ||
cargo install cargo-outdated | ||
``` | ||
|
||
## Commit | ||
First, run these commands: | ||
|
||
``` | ||
# Mandatory | ||
cargo fmt | ||
cargo clippy | ||
cargo outdated | ||
# Fun | ||
cargo geiger | ||
``` | ||
|
||
If clippy doesn't print out anything, then do these commands: | ||
|
||
``` | ||
git add . | ||
git commit | ||
git push | ||
``` | ||
|
||
## Publish | ||
After a commit meant for publish, do: | ||
|
||
``` | ||
cargo outdated | ||
# cargo semver | ||
cargo package | ||
``` | ||
|
||
Only if no warnings or errors are found, do `cargo publish`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pub use wavy::AudioSample; | ||
pub use wavy::MicrophoneSystem; | ||
pub use wavy::SpeakerSystem; | ||
pub use wavy::SampleRate; | ||
pub use wavy::AudioSample; | ||
pub use wavy::SpeakerSystem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.