]> source.dussan.org Git - gitea.git/commit
Add sqlite build tag
authorMichael Crosby <michael@crosbymichael.com>
Sat, 12 Apr 2014 18:48:12 +0000 (11:48 -0700)
committerMichael Crosby <michael@crosbymichael.com>
Sat, 12 Apr 2014 19:12:48 +0000 (12:12 -0700)
commit25fd495b2e790001e9c138205606ec4fa16bf129
tree12cafa5b49502f423a3f6ab71810c75af0f09a1d
parent0650c3c9f609ba833c29fa120a34f15c0f064b54
Add sqlite build tag

This adds a sqlite build tag so that you don't have to have the sqlite
import commented out in code and users can run:
    go build -tags sqlite
if they want to have sqlite support enabled.  It is disabled by default
so nothing changes with the default go get or build commands.
models/models.go
models/models_sqlite.go [new file with mode: 0644]