mirror of
https://github.com/trezor/blockbook.git
synced 2026-02-20 00:51:39 +01:00
Added script to generate blockchain config
This commit is contained in:
6
contrib/scripts/build-blockchaincfg.sh
Executable file
6
contrib/scripts/build-blockchaincfg.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
go run build/templates/generate.go $1 > /dev/null
|
||||
mv build/pkg-defs/blockbook/blockchaincfg.json build
|
||||
rm -rf build/pkg-defs
|
||||
echo Generated build/blockchaincfg.json for $1
|
||||
Reference in New Issue
Block a user