Skip to content

Commit

Permalink
feat(run): auto-detect PROJECT from CHAIN JSON via PROJECT_BIN
Browse files Browse the repository at this point in the history
  • Loading branch information
andy108369 committed Nov 9, 2023
1 parent c01b477 commit 0c181d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if [ -n "$CHAIN_JSON" ]; then
fi
fi

export PROJECT="${PROJECT:-$PROJECT_BIN}"
export PROJECT_BIN="${PROJECT_BIN:-$PROJECT}"
export PROJECT_DIR="${PROJECT_DIR:-.$PROJECT_BIN}"
export CONFIG_DIR="${CONFIG_DIR:-config}"
Expand Down

0 comments on commit 0c181d3

Please sign in to comment.