Skip to content

Commit

Permalink
feat: add just command for publishing both the library and the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rolv-Apneseth committed Nov 13, 2024
1 parent a595219 commit e0db8d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ alias c := check
alias d := develop
alias du := docker_up
alias dd := docker_down
alias p := publish

# List commands
default:
Expand Down Expand Up @@ -42,3 +43,8 @@ docker_up:
# Shut down the local Frankfurter API
docker_down:
docker compose down

# Publish both the binary and library crates to crates.io
publish: test
cargo publish --package lib_frankfurter
cargo publish --package frankfurter_cli

0 comments on commit e0db8d7

Please sign in to comment.