From f86e3957328a8209f0ad625dbae63c48129d78f4 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 1 Oct 2018 20:29:44 +0800 Subject: [PATCH] rename main file --- Makefile | 6 +++--- cmd/rmdashrf/{rfdashrf.go => rmdashrf.go} | 0 cmd/rmdashrf/version.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename cmd/rmdashrf/{rfdashrf.go => rmdashrf.go} (100%) diff --git a/Makefile b/Makefile index 15e7f6d..0d2098e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -ENTRY := cmd/rmdashrf/main.go +ENTRY := cmd/rmdashrf/rmdashrf.go OUTDIR := bin -all: cmd/rmdashrf/main.go - go build -o $(OUTDIR)/main.out $(ENTRY) \ No newline at end of file +all: cmd/rmdashrf/rmdashrf.go + go install \ No newline at end of file diff --git a/cmd/rmdashrf/rfdashrf.go b/cmd/rmdashrf/rmdashrf.go similarity index 100% rename from cmd/rmdashrf/rfdashrf.go rename to cmd/rmdashrf/rmdashrf.go diff --git a/cmd/rmdashrf/version.go b/cmd/rmdashrf/version.go index b26b038..810a353 100644 --- a/cmd/rmdashrf/version.go +++ b/cmd/rmdashrf/version.go @@ -1,4 +1,4 @@ package main // VERSION is the current version of RMDASHRF -const VERSION = "v0.1.0" +const VERSION string = "v0.1.0"