blatherskite

a toy discord-like chat app backend written for a swe class
Log | Files | Refs | README

commit d14540ffd17b7e025abaaf2d58f5f74389656f5a
parent 9d72a1cbd37f363044230d2e60b702995d3d2bc1
Author: quantumish <freifeld.david@gmail.com>
Date:   Fri, 23 Sep 2022 13:28:38 -0700

Add Cargo workspace; simplify CI/pre-commit scripts

Diffstat:
M.github/workflows/default.yml | 5+----
M.pre-commit-config.yaml | 10----------
ACargo.toml | 6++++++
3 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml @@ -3,12 +3,9 @@ on: [push] name: CI jobs: - scuttlebutt_test: + test: name: Rust project runs-on: ubuntu-latest - defaults: - run: - working-directory: ./scuttlebutt steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml @@ -3,14 +3,4 @@ repos: rev: v1.0 hooks: - id: fmt - name: format scuttlebutt - entry: "cd scuttlebutt" - id: cargo-check - name: check scuttlebutt - entry: "cd scuttlebutt" - - id: fmt - name: format chatterbox - entry: "cd chatterbox" - - id: cargo-check - name: check chatterbox - entry: "cd chatterbox" diff --git a/Cargo.toml b/Cargo.toml @@ -0,0 +1,6 @@ +[workspace] + +members = [ + "scuttlebutt", + "chatterbox" +]