From bc83f8a3730903dd7bab7619d6045dd99eb45537 Mon Sep 17 00:00:00 2001 From: ImVexed Date: Wed, 9 Dec 2020 08:42:34 -0800 Subject: [PATCH 1/6] add go module --- go.mod | 8 ++++++++ go.sum | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 go.mod create mode 100644 go.sum diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..7b2e303 --- /dev/null +++ b/go.mod @@ -0,0 +1,8 @@ +module github.com/mop-tracker/mop + +go 1.15 + +require ( + github.com/Knetic/govaluate v3.0.0+incompatible + github.com/nsf/termbox-go v0.0.0-20201124104050-ed494de23a00 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..26788e4 --- /dev/null +++ b/go.sum @@ -0,0 +1,7 @@ +github.com/Knetic/govaluate v1.5.0 h1:L4MyqdJSld9xr2eZcZHCWLfeIX2SBjqrwIKG1pcm/+4= +github.com/Knetic/govaluate v3.0.0+incompatible h1:7o6+MAPhYTCF0+fdvoz1xDedhRb4f6s9Tn1Tt7/WTEg= +github.com/Knetic/govaluate v3.0.0+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= +github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= +github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/nsf/termbox-go v0.0.0-20201124104050-ed494de23a00 h1:Rl8NelBe+n7SuLbJyw13ho7CGWUt2BjGGKIoreCWQ/c= +github.com/nsf/termbox-go v0.0.0-20201124104050-ed494de23a00/go.mod h1:T0cTdVuOwf7pHQNtfhnEbzHbcNyCEcVU4YPpouCbVxo= From 4047d80a56667b18a53bcd9427ba386c982664c7 Mon Sep 17 00:00:00 2001 From: V-X Date: Wed, 9 Dec 2020 08:44:33 -0800 Subject: [PATCH 2/6] update install instructions --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9407353..c48ed8f 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,10 @@ screenshot is worth a thousand words: Mop is implemented in Go and compiles down to a single executable file. # Make sure your $GOPATH is set. - $ go get github.com/mop-tracker/mop/cmd/mop - $ cd $GOPATH/src/github.com/mop-tracker/mop - $ make # <-- Compile and run mop. - $ make build # <-- Build mop in current directory. - $ make install # <-- Build mop and install it in $GOPATH/bin. - + $ git clone https://github.com/mop-tracker/mop + $ cd mop + $ go build ./mop/cmd + $ ./mop ### Using Mop ### For demonstration purposes Mop comes preconfigured with a number of From f8e4fdec31ac0413c0716daaf84070cca4535eb5 Mon Sep 17 00:00:00 2001 From: V-X Date: Wed, 9 Dec 2020 08:44:45 -0800 Subject: [PATCH 3/6] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index c48ed8f..f93ae1b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ screenshot is worth a thousand words: ### Installing Mop ### Mop is implemented in Go and compiles down to a single executable file. - # Make sure your $GOPATH is set. $ git clone https://github.com/mop-tracker/mop $ cd mop $ go build ./mop/cmd From d0f86aee2994b618542c06bf8d3b568c6627bfd1 Mon Sep 17 00:00:00 2001 From: V-X Date: Wed, 9 Dec 2020 08:50:09 -0800 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f93ae1b..ec88797 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Mop is implemented in Go and compiles down to a single executable file. $ git clone https://github.com/mop-tracker/mop $ cd mop - $ go build ./mop/cmd + $ go build ./cmd/mop $ ./mop ### Using Mop ### From c1b02a7bb64d91c3c3e5f0c3c8229ff840e27d28 Mon Sep 17 00:00:00 2001 From: V-X Date: Wed, 9 Dec 2020 08:52:11 -0800 Subject: [PATCH 5/6] Update README.md --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index ec88797..4b4a80d 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,7 @@ screenshot is worth a thousand words: ### Installing Mop ### Mop is implemented in Go and compiles down to a single executable file. - $ git clone https://github.com/mop-tracker/mop - $ cd mop - $ go build ./cmd/mop - $ ./mop + $ go get github.com/mop-tracker/mop/cmd/mop ### Using Mop ### For demonstration purposes Mop comes preconfigured with a number of From 390039cd7de3d24b7c5c3ba1bd4e608d0a43a49c Mon Sep 17 00:00:00 2001 From: V-X Date: Wed, 9 Dec 2020 08:52:59 -0800 Subject: [PATCH 6/6] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 398c078..4f069ad 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # be found in the LICENSE file. VERSION = 0.2.0 -PACKAGE = github.com/mop-tracker/mop/cmd/mop +PACKAGE = ./cmd/mop run: go run ./cmd/mop/main.go