Add user to shot gql

This commit is contained in:
2024-05-21 14:14:02 -06:00
parent e86f40c620
commit 92c18f8bf7
4 changed files with 22 additions and 1 deletions

14
justfile Normal file
View File

@@ -0,0 +1,14 @@
NIX := "LD_LIBRARY_PATH='' nix"
prettier-gql:
#!/usr/bin/env bash
set -euxo pipefail
{{NIX}} develop --impure --command prettier ./src --write
gql-codegen:
#!/usr/bin/env bash
set -euxo pipefail
{{NIX}} develop --impure --command bash -c 'yarn install && yarn graphql-codegen'
gql: gql-codegen prettier-gql