forked from miguelmota/go-ethereum-hdwallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (33 loc) · 707 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.PHONY: all
all: build
.PHONY: install
install:
@go get -u github.com/miguelmota/go-ethereum-hdwallet
.PHONY: build
build:
@go build . -o bin/hdwallet
.PHONY: test
test:
@go test -v .
.PHONY: ensure
ensure:
@dep ensure
.PHONY: deps/fix
deps/fix:
@cp -r "${GOPATH}/src/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1" "vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/"
.PHONY: run/example/1
run/example/1:
@go run example/derive.go
.PHONY: run/example/2
run/example/2:
@go run example/sign.go
.PHONY: run/example/3
run/example/3:
@go run example/seed.go
.PHONY: run/example/4
run/example/4:
@go run example/keys.go
.PHONY: release
release:
@rm -rf dist
@goreleaser