Skip to content

Commit a20b377

Browse files
committed
Add go.mod and document the update-subtree.sh script
1 parent 3e7efbe commit a20b377

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

depend/update-subtree.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
#!/bin/bash
2+
# This command pulls the latest updates from the master branch of the subtree and commits them in depend/secp256k1.
3+
# See man git-subtree(1) for more details.
14
git subtree pull --prefix depend/secp256k1 https://github.com/kaspanet/secp256k1.git master --squash

go.mod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module go-secp256k1
2+
3+
go 1.13
4+
5+
require github.com/pkg/errors v0.9.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
2+
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=

0 commit comments

Comments
 (0)