Skip to content

Commit

Permalink
build: rm relic mentions of cargo-run-bin
Browse files Browse the repository at this point in the history
Co-authored-by: Remy Clarke <[email protected]>
  • Loading branch information
mightyiam and ClarkeRemy committed Oct 10, 2023
1 parent 4c7173a commit 2533a13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ jobs:
.bin/
target/
~/.cargo/
key: ${{ runner.os }}_${{ steps.get-rust-version.outputs.rust_version }}_cargo-run-bin_${{ hashFiles('rust-toolchain.toml', 'Cargo.toml', 'Cargo.lock') }}
key: ${{ runner.os }}_${{ steps.get-rust-version.outputs.rust_version }}_${{ hashFiles('rust-toolchain.toml', 'Cargo.toml', 'Cargo.lock') }}
restore-keys: |
${{ runner.os }}_${{ steps.get-rust-version.outputs.rust_version }}_cargo-run-bin_
${{ runner.os }}_${{ steps.get-rust-version.outputs.rust_version }}_
${{ runner.os }}_
- run: cargo install cargo-run-bin
- run: npm ci
- run: ./git_hooks/pre-commit
- run: cargo run --package builder $(cargo run print-output-dir)
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Requirements

1. The [Rust toolchain](https://rust-lang.github.io/rustup/concepts/toolchains.html) specified in `rust-toolchain.toml`.
1. [cargo-run-bin](https://crates.io/crates/cargo-run-bin).
1. [Node.js](https://nodejs.org) and an `$ npm install`.

# Get help from the CLI
Expand All @@ -10,13 +9,6 @@
$ cargo run -- --help
```

# If there's no output for a while

That may be [because of `cargo-run-bin`](https://github.com/dustinblackman/cargo-run-bin/issues/2).
It's compiling executable depenedencies in the background and does not pass the output through.

If you're not certain whether compilation is in progress, consider looking for a `rustc` process.

# Architecture

1. The website content is generated at build time, except for the calendars.
Expand Down

0 comments on commit 2533a13

Please sign in to comment.