Skip to content

Commit

Permalink
build: run scripts with shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Dec 3, 2024
1 parent 2ce6c97 commit 8c76e5b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions multichain-testing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ clean: stop clean-kind

.PHONY: check
setup-deps:
bash $(CURDIR)/scripts/dev-setup.sh
$(CURDIR)/scripts/dev-setup.sh

###############################################################################
### Helm Charts ###
###############################################################################

install:
bash $(CURDIR)/scripts/install.sh --config $(FILE) --name $(NAME) --version $(HELM_VERSION)
$(CURDIR)/scripts/install.sh --config $(FILE) --name $(NAME) --version $(HELM_VERSION)

delete:
-helm delete $(NAME)
Expand All @@ -44,7 +44,7 @@ delete:

.PHONY: port-forward
port-forward:
bash $(CURDIR)/scripts/port-forward.sh --config=$(FILE)
$(CURDIR)/scripts/port-forward.sh --config=$(FILE)

.PHONY: stop-forward
stop-forward:
Expand Down Expand Up @@ -76,8 +76,8 @@ fund-provision-pool:
kubectl exec -i agoriclocal-genesis-0 -c validator -- agd tx bank send faucet $(PROVISION_POOL_ADDR) 1000000000uist -y -b block

override-chain-registry:
node_modules/.bin/tsx scripts/fetch-starship-chain-info.ts && \
node_modules/.bin/tsx scripts/deploy-cli.ts src/revise-chain-info.builder.js
scripts/fetch-starship-chain-info.ts && \
scripts/deploy-cli.ts src/revise-chain-info.builder.js

ADDR=agoric1ldmtatp24qlllgxmrsjzcpe20fvlkp448zcuce
COIN=1000000000uist
Expand All @@ -98,7 +98,7 @@ tail-slog:

.PHONY: wait-for-pods
wait-for-pods:
node_modules/.bin/tsx scripts/pod-readiness.ts
scripts/pod-readiness.ts

.PHONY: start
start: install wait-for-pods port-forward fund-provision-pool override-chain-registry
Expand Down
Empty file modified multichain-testing/scripts/dev-setup.sh
100644 → 100755
Empty file.
Empty file modified multichain-testing/scripts/install.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions multichain-testing/scripts/pod-readiness.ts
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node --import ts-blank-space/register
import { execa } from 'execa';
import { sleep } from '../tools/sleep.js';

Expand Down
Empty file modified multichain-testing/scripts/port-forward.sh
100644 → 100755
Empty file.
Empty file modified multichain-testing/scripts/update-config.sh
100644 → 100755
Empty file.

0 comments on commit 8c76e5b

Please sign in to comment.