Skip to content

Instantly share code, notes, and snippets.

@mc02
Last active March 9, 2016 08:57
Show Gist options
  • Save mc02/ec9103d4892ae5bed2b1 to your computer and use it in GitHub Desktop.
Save mc02/ec9103d4892ae5bed2b1 to your computer and use it in GitHub Desktop.
gogs update from source with tags for sqlite3
go get -u -tags "sqlite" github.com/gogits/gogs
$ cd $GOPATH/src/github.com/gogits/gogs
# move old build
$ mv gogs gogs-$(./gogs -v | awk '{print $3}')
# And rebuild Gogs
$ go build -tags "sqlite"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment