mirror of
https://github.com/luxfi/node.git
synced 2026-07-27 03:39:39 +00:00
- scripts/* + .github/actions/* + .github/workflows/*: LUX_PATH -> NODE_PATH, LUX_VERSION -> NODE_VERSION. - Dockerfile: LUX_CGO -> CGO_ENABLED (matches Go convention). - staking/kms.go: LUX_KMS_ENDPOINT/PATH/TOKEN -> KMS_ENDPOINT/PATH/TOKEN. - deploy-subnets.sh: LUX_PRIVATE_KEY -> PRIVATE_KEY. - config/config.go: drop LUX_AUTOMINE_CCHAIN_GENESIS_PATH env override; downstream networks ship their own platform-genesis bundle instead.
16 lines
446 B
Bash
Executable File
16 lines
446 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Luxgo root folder
|
|
NODE_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd )
|
|
# Load the constants
|
|
source "$NODE_PATH"/scripts/constants.sh
|
|
source "$NODE_PATH"/scripts/git_commit.sh
|
|
|
|
echo "Building tmpnetctl..."
|
|
go build -ldflags\
|
|
"-X github.com/luxfi/node/version.GitCommit=$git_commit $static_ld_flags"\
|
|
-o "$NODE_PATH/build/tmpnetctl"\
|
|
"$NODE_PATH/tests/fixture/tmpnet/tmpnetctl/"*.go
|