Skip to content

Commit

Permalink
Add dotnet-ef to tools (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Jan 2, 2024
1 parent e0332a6 commit 539fd69
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion TeachingRecordSystem/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
"commands": [
"dotnet-format"
]
},
"dotnet-ef": {
"version": "8.0.0",
"commands": [
"dotnet-ef"
]
}
}
}
}
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ format-changed:

# Run the EF Core Command-line Tools for the Core project
ef *ARGS:
@cd {{solution-root / "src" / "TeachingRecordSystem.Core"}} && dotnet ef {{ARGS}}
@cd {{solution-root / "src" / "TeachingRecordSystem.Core"}} && dotnet dotnet-ef {{ARGS}}

# Run the API project in Development mode
run-api:
Expand Down

0 comments on commit 539fd69

Please sign in to comment.