Skip to content

Commit

Permalink
rewrite checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb committed Aug 14, 2017
1 parent b00021c commit 36632a5
Show file tree
Hide file tree
Showing 883 changed files with 222,856 additions and 2,972 deletions.
14 changes: 0 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
bin/
pkg/
src/code.google.com/
src/github.com/docopt/
src/github.com/mgutz/
src/github.com/op/
src/gopkg.in/
jira
jira.exe
schemas/*.json
t/issue.props
t/.jira.d/templates
dist/
src/
t/.maven-cache
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ else
BIN ?= $(GOBIN)$(SEP)$(NAME)
endif

export GOPATH=$(CWD)

DIST=$(CWD)$(SEP)dist

GOBIN ?= $(CWD)
Expand All @@ -40,16 +38,16 @@ LDFLAGS:=-X jira.VERSION=$(CURVER) -w
# use make DEBUG=1 and you can get a debuggable golang binary
# see https://github.com/mailgun/godebug
ifneq ($(DEBUG),)
GOBUILD=go get -v github.com/mailgun/godebug && ./bin/godebug build
GOBUILD=go get -v github.com/mailgun/godebug &&
else
GOBUILD=go build -v -ldflags "$(LDFLAGS) -s"
endif

build: src/gopkg.in/Netflix-Skunkworks/go-jira.v0
$(GOBUILD) -o '$(BIN)' main/main.go
$(GOBUILD) -o '$(BIN)' cmd/jira/main.go

debug:
$(MAKE) DEBUG=1
go build -v -o '$(BIN)' cmd/jira/main.go

src/%:
mkdir -p $(@D)
Expand Down
Loading

0 comments on commit 36632a5

Please sign in to comment.