Skip to content

Commit

Permalink
decouble backend crates + fix draft + fix schemas for images (#43)
Browse files Browse the repository at this point in the history
* initial restructure

* rebase

* fix schemas and seed script

* s/draft/published

* campaign/all for hayes

* friendships ended with for loops, into_iter() is my friend

* update github workflow to check both crates
  • Loading branch information
spanishpear authored Feb 1, 2022
1 parent 39e2921 commit a37df87
Show file tree
Hide file tree
Showing 55 changed files with 2,796 additions and 484 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ jobs:
with:
working-directory: backend/
- name: Build
run: cargo build --manifest-path backend/Cargo.toml
run: cargo build --manifest-path backend/server/Cargo.toml
- name: Cargo Check
run: cargo check --manifest-path backend/Cargo.toml
run: cargo check --manifest-path backend/server/Cargo.toml
- name: RustFmt
run: cargo fmt --manifest-path backend/Cargo.toml
run: cargo fmt --manifest-path backend/server/Cargo.toml
- name: Build
run: cargo build --manifest-path backend/seed_data/Cargo.toml
- name: Cargo Check
run: cargo check --manifest-path backend/seed_data/Cargo.toml
- name: RustFmt
run: cargo fmt --manifest-path backend/seed_data/Cargo.toml
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ repos:
hooks:
- id: fmt
files: ^backend/
args: ['--manifest-path', 'backend/Cargo.toml', '--']
args: ['--manifest-path', 'backend/server/Cargo.toml', '--']
- id: cargo-check
args: ['--manifest-path', 'backend/Cargo.toml', '--']
args: ['--manifest-path', 'backend/server/Cargo.toml', '--']
Loading

0 comments on commit a37df87

Please sign in to comment.