From dd5bbe4d4638b7a9f615b6e4e5595faa88a31267 Mon Sep 17 00:00:00 2001 From: ben dewan Date: Mon, 31 Jul 2017 10:54:45 -0400 Subject: [PATCH] Additional cleanup * Add leading '/' characters to .gitignore paths * Shorten the import path --- .gitignore | 14 +++++++------- Makefile | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 0128991..374557b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ *~ .*.sw[a-z] -vendor/github.com/ -vendor/golang.org/ -vendor/gopkg.in/ -pachelbel -pachelbel.exe -pachelbel*.tgz -pachelbel*.zip +/vendor/github.com/ +/vendor/golang.org/ +/vendor/gopkg.in/ +/pachelbel +/pachelbel.exe +/pachelbel*.tgz +/pachelbel*.zip diff --git a/Makefile b/Makefile index cea8ed4..ac1365d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -LDFLAGS="-X github.com/benjdewan/pachelbel/cmd.version=$(shell git describe --tags || echo DEV-BUILD)" +LDFLAGS="-X /cmd.version=$(shell git describe --tags || echo DEV-BUILD)" .PHONY: all clean