Skip to content

Commit

Permalink
Add [[bin]] to migration and main executable (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoDCube authored Nov 7, 2024
1 parent 68ce9a9 commit 68d3cb0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
name: cargo-deny check
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
checks:
- advisories
Expand Down
4 changes: 4 additions & 0 deletions iam-migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ license-file.workspace = true
name = "migration"
path = "lib.rs"

[[bin]]
name = "iam-migration"
path = "main.rs"

[dependencies]
sea-orm-migration = { version = "1.0.0" }
tokio.workspace = true
Expand Down
4 changes: 4 additions & 0 deletions iam/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ license-file.workspace = true
[lib]
path = "./lib.rs"

[[bin]]
name = "iam"
path = "main.rs"

[dependencies]
iam-entity.workspace = true
sea-orm = { workspace = true, features = ["mock"] }
Expand Down

0 comments on commit 68d3cb0

Please sign in to comment.