refactor: Add installation of gq tool to Taskfile

This commit is contained in:
windyboy
2024-08-07 14:10:03 +08:00
parent f340c66b19
commit dd10023199
+7
View File
@@ -97,6 +97,12 @@ tasks:
- echo "Linting code..."
- golangci-lint run
install-gq:
desc: Install hasura graphql engine introspection tool
cmds:
- echo "Installing gq..."
- pnpm add -g graphqurl
schema:
desc: Download the GraphQL schema from Hasura server
cmds:
@@ -125,6 +131,7 @@ tasks:
- echo " task fmt - Format the code"
- echo " task deps - Install dependencies"
- echo " task lint - Lint the code"
- echo " task install-gq - Install hasura graphql engine introspection tool"
- echo " task schema - Download the GraphQL schema from Hasura server"
- echo " task gen - Generate code using genqlient"
- echo " task upgrade - Upgrade go dependencies"