Browse Source

Keep generated bindata out of the repository

Since Makefile is taught to generate bindata when necessary, storing bindata in
repository is no longer convenient. Also keeping bindata out of the repository
makes sure it always reflects the source files.
pull/2077/head
Adam Strzelecki 9 years ago
parent
commit
03f45c07e7
  1. 1
      .gitignore
  2. 5
      Makefile
  3. 5430
      modules/bindata/bindata.go

1
.gitignore vendored

@ -37,3 +37,4 @@ gogs.sublime-project
gogs.sublime-workspace
.tags*
release
modules/bindata/bindata.go

5
Makefile

@ -31,9 +31,12 @@ release: build pack
bindata: modules/bindata/bindata.go
modules/bindata/bindata.go: $(DATA_FILES)
modules/bindata/bindata.go: modules/bindata $(DATA_FILES)
go-bindata -o=$@ -ignore="\\.DS_Store|README.md" -pkg=bindata conf/...
modules/bindata:
mkdir -p modules/bindata
less: public/css/gogs.css
public/css/gogs.css: $(LESS_FILES)

5430
modules/bindata/bindata.go

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save