Skip to content

Commit

Permalink
move package to github path
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Mansfield committed Jun 9, 2019
1 parent 91a4cdf commit 1c569e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmd/Makefile
@@ -1,7 +1,7 @@
VERSION := $(shell git tag | grep ^v | sort -V | tail -n 1)
LDFLAGS = -ldflags "-X versserv/cmd.Version=${VERSION}"
LDFLAGS = -ldflags "-X github.com/AgentZombie/go-embed-version/cmd.Version=${VERSION}"
TIMESTAMP := $(shell date +%Y%m%d-%H%M)
DEVLDFLAGS = -ldflags "-X versserv/cmd.Version=dev-${TIMESTAMP}"
DEVLDFLAGS = -ldflags "-X github.com/AgentZombie/go-embed-version/cmd.Version=dev-${TIMESTAMP}"

SERVBIN=/tmp/versserv

Expand Down
4 changes: 2 additions & 2 deletions cmd/server/server.go
Expand Up @@ -3,8 +3,8 @@ package main
import (
"flag"

"versserv"
"versserv/cmd"
"github.com/AgentZombie/go-embed-version"
"github.com/AgentZombie/go-embed-version/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion server.go
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"net/http"

"versserv/cmd"
"github.com/AgentZombie/go-embed-version/cmd"
)

type Server struct {
Expand Down

0 comments on commit 1c569e3

Please sign in to comment.