diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ef26cd9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +storage.db +storage.db-shm +storage.db-wal +./storeverif \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..73464f4 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ + +SHELL := bash # the shell used internally by Make + +GOCMD ?= $(shell which go) + +.PHONY: all build + +all: build + +build: + ${GOCMD} build -o build/storeverif ./cmd/storeverif diff --git a/build/.gitignore b/build/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/build/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/cmd/msgfinder/execute.go b/cmd/storeverif/execute.go similarity index 100% rename from cmd/msgfinder/execute.go rename to cmd/storeverif/execute.go diff --git a/cmd/msgfinder/flags.go b/cmd/storeverif/flags.go similarity index 100% rename from cmd/msgfinder/flags.go rename to cmd/storeverif/flags.go diff --git a/cmd/msgfinder/main.go b/cmd/storeverif/main.go similarity index 100% rename from cmd/msgfinder/main.go rename to cmd/storeverif/main.go diff --git a/cmd/msgfinder/options.go b/cmd/storeverif/options.go similarity index 100% rename from cmd/msgfinder/options.go rename to cmd/storeverif/options.go