1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00

fix: fixed init

For some reason when building . instead of main.go,
the main_packr.go file was being ignored it seems.

Also changed it to run with go generate.

refs #591
This commit is contained in:
Carlos Alexandro Becker 2018-03-01 22:05:53 -03:00
parent ac7800699f
commit 2ff058fd64
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
builds:
- hooks:
pre: packr
- main: ./main.go
hooks:
pre: go generate
env:
- CGO_ENABLED=0
goos:

View File

@ -1,3 +1,4 @@
//go:generate packr
package main
import (