Prettier shot and add prettier to justfile
This commit is contained in:
4
justfile
4
justfile
@@ -1,5 +1,5 @@
|
||||
NIX := "LD_LIBRARY_PATH='' nix"
|
||||
PROTOBUF_DIR := "$PWD/protobuf"
|
||||
PROTOBUF_DIR := "$PWD/rbproto"
|
||||
|
||||
prettier-gql:
|
||||
#!/usr/bin/env bash
|
||||
@@ -20,7 +20,7 @@ protobuf-compile-a-python name:
|
||||
protobuf-compile-a-js name:
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
{{NIX}} develop --impure --command bash -c 'yarn pbjs {{ PROTOBUF_DIR }}/shot.proto --ts {{ PROTOBUF_DIR }}/ts/shot.ts'
|
||||
{{NIX}} develop --impure --command bash -c 'yarn pbjs {{ PROTOBUF_DIR }}/shot.proto --ts {{ PROTOBUF_DIR }}/ts/shot.ts && yarn prettier ./rbproto --write'
|
||||
|
||||
protobuf-compile-all-js:
|
||||
#!/usr/bin/env bash
|
||||
|
Reference in New Issue
Block a user