Skip to content

Commit

Permalink
allow bindata file to be committed to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tiger5226 committed Jan 12, 2022
1 parent c37ecf1 commit f831187
Show file tree
Hide file tree
Showing 3 changed files with 584 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# vendor/
/.env
/bin/
/migration/bindata.go
# /migration/bindata.go #Removed otherwise can't use as package
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import "github.com/lbryio/commentron/cmd"

//go:generate go-bindata -o migration/bindata.go -pkg migration -ignore bindata.go migration/
//go:generate go-bindata -o migration/bindata.go -nometadata -pkg migration -ignore bindata.go migration/
//go:generate go fmt ./migration/bindata.go
//go:generate goimports -l ./migration/bindata.go

Expand Down
Loading

0 comments on commit f831187

Please sign in to comment.