Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
feat: bigger showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenLoc committed Oct 12, 2024
1 parent 16bd4cb commit e58217f
Show file tree
Hide file tree
Showing 22 changed files with 357 additions and 268 deletions.
13 changes: 1 addition & 12 deletions showcases/gin/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ run:
test:
go test .

verify: test (up "-d") api-test lint
verify: test (up "-d") api-test
docker compose down

install-dep:
Expand All @@ -21,10 +21,6 @@ up c="": build
watch:
cargo watch -- just verify

# Run the static code analysis
lint:
golangci-lint run

# Build docker image for testing
build:
docker build -t {{image_name}} .
Expand All @@ -43,13 +39,6 @@ api-test *args: wait-for-api
api-test-not-implemented *args: wait-for-api
hurl api_tests/not_implemented/*.hurl {{hurl_opts}} {{args}}

# Install cargo dev-tools used by the `verify` recipe (requires rustup to be already installed)
install-dev-tools:
just install-linter

install-linter:
brew install golangci-lint
brew upgrade golangci-lint

install-hurl:
curl --location --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/4.1.0/hurl_4.1.0_amd64.deb
Expand Down
126 changes: 59 additions & 67 deletions showcases/rocket/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion showcases/rocket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jsonwebtoken = { version = "9.3", default-features = false }

reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-pki-types"] }
askama = {version = "0.12.1" }

rand = "0.8.5"

[profile.dev.build-override]
opt-level = 3
Loading

0 comments on commit e58217f

Please sign in to comment.