diff options
| author | a14m <[email protected]> | 2021-04-09 16:52:45 +0200 |
|---|---|---|
| committer | a14m <[email protected]> | 2021-04-09 17:44:09 +0200 |
| commit | 7b3de7c109932ea1224aed5c082ee9e771b794b9 (patch) | |
| tree | b3587a16184738e76d8fc993d2f55a9b7e4aa3aa /CLI | |
| parent | cf9d3806ea6394e5812e9fca84b8fe8ac3420744 (diff) | |
Deploy test crate version from CI
Diffstat (limited to 'CLI')
| -rw-r--r-- | CLI/rust/CHANGELOG.md | 6 | ||||
| -rw-r--r-- | CLI/rust/Cargo.lock | 26 | ||||
| -rw-r--r-- | CLI/rust/Cargo.toml | 8 | ||||
| -rw-r--r-- | CLI/rust/README.md | 15 |
4 files changed, 35 insertions, 20 deletions
diff --git a/CLI/rust/CHANGELOG.md b/CLI/rust/CHANGELOG.md new file mode 100644 index 0000000..cffbb35 --- /dev/null +++ b/CLI/rust/CHANGELOG.md @@ -0,0 +1,6 @@ +# Changelog + +## Unreleased + +## 0.1.0-alpha +- Initial implementation of the CLI `-i file.txt` option and release. diff --git a/CLI/rust/Cargo.lock b/CLI/rust/Cargo.lock index eeade1f..841b96e 100644 --- a/CLI/rust/Cargo.lock +++ b/CLI/rust/Cargo.lock @@ -120,19 +120,6 @@ dependencies = [ ] [[package]] -name = "game-of-life" -version = "0.1.0" -dependencies = [ - "clap", - "ctrlc", - "curl", - "mocktopus", - "rand", - "regex", - "terminal_size", -] - -[[package]] name = "getrandom" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -423,6 +410,19 @@ dependencies = [ ] [[package]] +name = "terminal_game_of_life" +version = "0.1.0-alpha" +dependencies = [ + "clap", + "ctrlc", + "curl", + "mocktopus", + "rand", + "regex", + "terminal_size", +] + +[[package]] name = "terminal_size" version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" diff --git a/CLI/rust/Cargo.toml b/CLI/rust/Cargo.toml index 58c2250..41aff9e 100644 --- a/CLI/rust/Cargo.toml +++ b/CLI/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "game-of-life" -version = "0.1.0" +name = "terminal_game_of_life" +version = "0.1.0-alpha" authors = ["a14m <[email protected]>"] edition = "2018" description = "Conway's game of life implementation as a CLI rust crate" @@ -9,6 +9,10 @@ homepage = "https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/rust/README.md" repository = "https://git.sr.ht/~a14m/game-of-life/tree/master/CLI/rust" license = "MIT" +[[bin]] +name = "game-of-life" +path = "src/main.rs" + [dependencies] clap = { version = "3.0.0-beta.2", features = ["wrap_help"] } curl = "0.4.35" diff --git a/CLI/rust/README.md b/CLI/rust/README.md index 471ea5d..f5a1ffa 100644 --- a/CLI/rust/README.md +++ b/CLI/rust/README.md @@ -3,7 +3,9 @@ The implementation of the [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) rust package ## Installation -TBD +```bash +$ cargo install terminal_game_of_life +``` ## Usage @@ -55,9 +57,12 @@ Run `cargo +nightly test` Run `cargo doc` ## Release -TBD +- Update the [version](./Cargo.toml) number +- Run `cargo build --release` and commit changes +- Update the [CHANGELOG](./CHANGELOG.md) +- Create a git tag `rust/v#{version_number}` ex: `rust/v0.1.1-pre` ## Extra information -### [Contributing](https://gitlab.com/a14m/game-of-life/-/blob/master/CONTRIBUTING.md) -### [License](https://gitlab.com/a14m/game-of-life/-/blob/master/LICENSE.md) -### [Code of Conduct](https://gitlab.com/a14m/game-of-life/-/blob/master/CODE_OF_CONDUCT.md) +### [Contributing](../../CONTRIBUTING.md) +### [License](../../LICENSE.md) +### [Code of Conduct](../../CODE_OF_CONDUCT.md) |
