]> Cypherpunks.ru repositories - gohpenc.git/commitdiff
Simplifying because of modules v1.0.0
authorSergey Matveev <stargrave@stargrave.org>
Wed, 2 Oct 2019 13:22:14 +0000 (16:22 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 2 Oct 2019 13:22:14 +0000 (16:22 +0300)
Makefile [deleted file]
base32.go [moved from src/cypherpunks.ru/gohpenc/base32.go with 100% similarity]
go.mod [moved from src/cypherpunks.ru/gohpenc/go.mod with 100% similarity]
go.sum [moved from src/cypherpunks.ru/gohpenc/go.sum with 100% similarity]
main.go [moved from src/cypherpunks.ru/gohpenc/main.go with 100% similarity]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 95f8740..0000000
--- a/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-GO ?= go
-GOPATH ?= $(PWD)/gopath
-SRC := $(PWD)/src/cypherpunks.ru/gohpenc
-BIN := $(PWD)/bin
-
-all: $(BIN)/gohpenc
-
-$(BIN):
-       mkdir -p $(BIN)
-
-$(BIN)/gohpenc: $(BIN)
-       cd $(SRC) ; GOPATH=$(GOPATH) $(GO) build
-       mv $(SRC)/gohpenc bin
-
-clean:
-       rm -rf $(BIN)
similarity index 100%
rename from src/cypherpunks.ru/gohpenc/go.mod
rename to go.mod
similarity index 100%
rename from src/cypherpunks.ru/gohpenc/go.sum
rename to go.sum
similarity index 100%
rename from src/cypherpunks.ru/gohpenc/main.go
rename to main.go