Skip to content

Commit

Permalink
move run.sh commands to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Feb 16, 2024
1 parent ffaca5c commit 897ab4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@
help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

# Currently exporting the .env vars directly in the commands that need them
# see for eg. the run-avs-sync command
# Uncommenting the two lines below will export the .env vars for all commands
# include .env
# export

start-anvil-goerli-fork: ##
anvil --fork-url https://goerli.gateway.tenderly.co

run-avs-sync: ##
./run.sh
@# we export the env vars from .env file and then run the go program
@set -a; . .env; set +a; go run .

test: ##
go test ./...
Expand Down
6 changes: 0 additions & 6 deletions run.sh

This file was deleted.

0 comments on commit 897ab4d

Please sign in to comment.