mirror of
https://github.com/luxfi/lpm.git
synced 2026-10-30 16:20:57 +00:00
- Update node v1.16.15 → v1.19.8 - Update crypto v1.17.0 → v1.17.4 - Update database v1.2.0 → v1.2.1 - Update geth v1.16.34 → v1.16.35 - Update ids v1.1.0 → v1.1.1 - Update Go 1.25 → 1.25.1 - Update copyright year to 2025
23 lines
438 B
Bash
Executable File
23 lines
438 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (C) 2019-2025, Lux Partners Limited. All rights reserved.
|
|
# See the file LICENSE for licensing terms.
|
|
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
if ! [[ "$0" =~ scripts/build.sh ]]; then
|
|
echo "must be run from repository root"
|
|
exit 255
|
|
fi
|
|
|
|
# Set default binary directory location
|
|
name="lpm"
|
|
|
|
# Build the lpm
|
|
mkdir -p ./build
|
|
|
|
echo "Building lpm in ./build/$name"
|
|
go build -o ./build/$name ./main
|