Chris
3c88c54d65
Removed optional tags with one tag, !skippkger
2020-03-24 14:14:21 -04:00
Chris
331c57067b
Moved build tags below code generation warning
2020-03-24 14:02:20 -04:00
Chris
bc0ae93dc6
Added -t for specifying conditional build tags
2020-03-24 13:51:10 -04:00
Mark Bates
a78c11e368
Merge pull request #80 from taiyangc/master
...
Fix pkger generating the wrong package name for pkger.go
2020-03-11 14:37:04 -04:00
Eric Chen
9552dcf46d
Fix pkger generating the wrong package name for pkger.go
...
The issue is that, if pkger.go is created (empty) before the `go list
-json` call it will fail and give the generic directory name instead of the
actual package name under the directory. This is fine in most cases,
except when the package name differs from the directory name - which is
allowed. Then pkger.go will conflict and fail to compile with the rest
of *.go under the same directory.
To fix, we simply obtain the real package name before creating the dummy
pkger.go file and then pass the name into the file.
2020-03-11 03:31:03 -07:00
Mark Bates
5b8abbabca
Merge pull request #77 from ghouscht/issue-76
...
fix pkger error if a project contains a .go directory #76
2020-03-04 09:55:04 -05:00
Thomas Gosteli
5d81ba66cb
fix pkger error if a project contains a .go directory #76
2020-03-04 14:33:57 +01:00
Mark Bates
c9b56cd758
Merge pull request #70 from hnnsgstfssn/fix-typo
...
Fix typo
2020-02-17 16:29:53 -05:00
Hannes Gustafsson
9925b6cc05
Fix typo
...
4e1fe7b43f
introduced a Fprintf call that
passes a variable without a formatting directive. This will cause go vet
-printf to fail with
cmd/pkger/cmds/pack.go:150: no formatting directive in Fprintf call
Drop the variable from the call.
2020-02-16 22:05:56 +00:00
Mark Bates
defb2921c0
Merge pull request #69 from hnnsgstfssn/add-generated-code-disclaimer
...
Add generated code disclaimer
2020-02-16 15:13:34 -05:00
Hannes Gustafsson
4e1fe7b43f
Add generated code disclaimer
...
Generated code should contain a disclaimer as per [1].
Add a disclaimer to the top of the file generated by the pack command.
Fixes #68 .
[1] https://golang.org/s/generatedcode
2020-02-16 19:54:06 +00:00
Mark Bates
d9d5139985
Merge pull request #61 from markbates/fix-external-pkgs
...
Fixes issues with `<pkg>:/<name>` paths not resolving correctly.
2020-01-09 15:48:40 -05:00
Mark Bates
4a3675581d
use pkg info from string parse
2020-01-08 17:37:55 -05:00
Mark Bates
c5e820d039
Merge pull request #50 from markbates/here-here
...
use gobuffalo/here fixes #49
2019-12-17 10:19:58 -05:00
Mark Bates
db2f21a8c7
see yourself
2019-12-17 10:16:55 -05:00
Mark Bates
7a3189e727
Merge branch 'master' into here-here
2019-12-17 10:12:20 -05:00
Mark Bates
6217c988eb
Merge pull request #55 from moqmar/master
...
Provide workaround for segmentation fault (fixes #54 )
2019-12-17 10:08:08 -05:00
Moritz Marquardt
2a4daae578
Provide workaround for segmentation fault ( fixes #54 )
2019-12-16 09:09:58 +01:00
Mark Bates
6c1b23a5cb
new include
2019-12-13 11:24:17 -05:00
Mark Bates
5497054b42
Merge pull request #53 from markbates/handle-main
...
handle main packages
2019-12-11 15:15:54 -05:00
Mark Bates
945a3a2811
Merge branch 'master' into handle-main
2019-12-11 15:04:01 -05:00
Mark Bates
b334bd73ac
handle main functions
2019-12-11 15:02:51 -05:00
Mark Bates
b0a67f7917
Merge pull request #52 from koddr/patch-1
...
Fixed import block (generated pkged.go file)
2019-12-11 15:02:41 -05:00
Vic Shóstak
9d57b03b3c
Fixed import block
2019-12-05 22:09:34 +03:00
Mark Bates
6431634511
better error
2019-12-03 17:40:04 -05:00
Mark Bates
0167919fce
ignore .tmp stuff
2019-12-03 17:36:58 -05:00
Mark Bates
e4d652a24e
revert
2019-12-03 15:32:08 -05:00
Mark Bates
ec8c803b27
verbs
2019-12-03 15:29:17 -05:00
Mark Bates
b24faf1070
get -t
2019-12-03 15:23:12 -05:00
Mark Bates
94798bc8a6
remove 1.12
2019-12-03 15:13:55 -05:00
Mark Bates
10f43292e9
github stuff
2019-12-03 15:11:25 -05:00
Mark Bates
16972f8f18
use gobuffalo/here fixes #49
2019-12-03 15:07:51 -05:00
Mark Bates
7752bb822e
magic prize
2019-11-21 11:42:19 -05:00
Mark Bates
43a11bf0fc
fix goreleaser
2019-11-21 11:35:54 -05:00
Mark Bates
d6ca5ac119
Merge pull request #41 from markbates/github-actions
2019-11-21 08:33:32 -08:00
Mark Bates
32f1de1b25
the ship is leaking
2019-11-21 11:31:06 -05:00
Mark Bates
2560bdca09
in the sun
2019-11-21 11:29:00 -05:00
Mark Bates
ddc055cac4
tidy
2019-11-21 09:02:05 -05:00
Mark Bates
e611253b7b
dop
2019-11-21 08:53:05 -05:00
Mark Bates
0b8a69abe2
why?
2019-11-21 08:07:00 -05:00
Mark Bates
b40b98d739
do you?
2019-11-20 22:02:20 -05:00
Mark Bates
c83687a932
copy sum too
2019-11-20 21:58:48 -05:00
Mark Bates
8f84b7462f
sum
2019-11-20 21:54:48 -05:00
Mark Bates
9b9b72922d
the killing curse
2019-11-20 21:50:35 -05:00
Mark Bates
f548238cc7
Merge pull request #40 from devnode/fix-file-seek
...
missing File.reader initialization on Seek()
2019-11-20 18:43:18 -08:00
Tom Mombourquette
5d492d737f
removed io package for consistency
2019-11-20 21:48:09 -04:00
Tom Mombourquette
b8247ce972
added test
2019-11-20 19:17:36 -04:00
Tom Mombourquette
d9ef17a04d
initial
2019-11-20 16:36:29 -04:00
Mark Bates
3f76ab6dd9
version bump: v0.12.5
2019-11-20 05:50:48 -08:00
Mark Bates
338906395e
version bump: v0.12.4
2019-11-17 10:10:11 -08:00