mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-14 16:49:10 +00:00
chore: prettier shell stuff
This commit is contained in:
parent
a9af2d10bd
commit
c7afd84e1e
12 changed files with 204 additions and 341 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd `dirname $(realpath $0)`
|
||||
cd $(dirname $(realpath $0))
|
||||
cd ..
|
||||
|
||||
bazel run //:gazelle
|
||||
|
@ -9,6 +9,6 @@ bazel run //:gazelle
|
|||
|
||||
sleep 0.5
|
||||
echo "Fixing go_dependencies.bzl..."
|
||||
head -n2 ../go_dependencies.bzl > ../go_dependencies.bzl~
|
||||
tail -n+3 ../go_dependencies.bzl | sed '/^$/d' >> ../go_dependencies.bzl~
|
||||
mv ../go_dependencies.bzl~ ../go_dependencies.bzl
|
||||
head -n2 ../go_dependencies.bzl >../go_dependencies.bzl~
|
||||
tail -n+3 ../go_dependencies.bzl | sed '/^$/d' >>../go_dependencies.bzl~
|
||||
mv ../go_dependencies.bzl~ ../go_dependencies.bzl
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
load("@rules_typescript_proto//:index.bzl", "typescript_proto_library")
|
||||
load("//src/ts-protoc-gen/rules:index.bzl", "typescript_proto_library")
|
||||
load("@npm//@bazel/typescript:index.bzl", "ts_library")
|
||||
|
||||
def _generalize_pb_imports(name, srcs = [], grpc = False):
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
echo "STABLE_GIT_COMMIT $(git rev-parse --short HEAD)"
|
||||
echo "STABLE_GIT_BRANCH $(git rev-parse --abbrev-ref HEAD)"
|
||||
echo "STABLE_URL_SAFE_TAG $(git rev-parse --abbrev-ref HEAD | tr '/' '-')"
|
||||
echo "BUILD_DATE $(date -Iseconds)"
|
||||
echo "BUILD_DATE $(date -Iseconds)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue