Carlos Alexandro Becker
13d2bca06f
refactor: improved error message
...
The error message was kind of bad. Improved it
2017-11-21 08:27:32 -02:00
Carlos Alexandro Becker
a9f33bd659
test: added a test case for an invalid main.go
...
The user could set the main to anything, so, added a test
for an invalid file as main.
2017-11-21 08:27:32 -02:00
Carlos Alexandro Becker
5a2f6d0318
refactor: remove unnecessary code
...
Since e0897fc2d2
this is not needed
anymore.
2017-11-21 08:27:32 -02:00
Carlos Alexandro Becker
8ae5d1563b
refactor: using errors package properly
...
The errors.Wrap already returns nil if the wrapped error is nil,
therefore the if statement is unecessary.
2017-11-21 08:27:32 -02:00
Carlos Alexandro Becker
48ddd4c0eb
refactor: using ast parser instead
...
Using the ast parser, so we don't need to glob and goreleaser will work
reliably even if the files aren't gofmt'd.
2017-11-21 08:27:32 -02:00
Carlos Alexandro Becker
eb48a028bd
refactor: improved test code
...
Improved test to better check errors.
2017-11-21 08:27:32 -02:00
Carlos Alexandro Becker
ce9e1c575c
refactor: improved error messages
...
They were not very clear.
2017-11-21 08:27:32 -02:00
Carlos Alexandro Becker
83093ac477
feat: break if main package doesnt have a main func
...
Breaks the release if the package being built doesnt
have a main function.
Also improved error handling in the build pipe.
Closes #415
2017-11-21 08:27:32 -02:00
Carlos Alexandro Becker
d85a9001ec
removing all assert.New because vet shadow complains about this now
...
aaaaaaaaaaarhhhhhhhhgttt
2017-09-26 19:24:49 -03:00
Carlos Alexandro Becker
5151f176cb
allow configuring parallelism via flag
2017-07-15 16:49:52 -03:00
Carlos Alexandro Becker
cae5d07141
fixed tests
2017-07-13 20:43:12 -03:00
Carlos Alexandro Becker
57a177495b
multiple binaries on naked release: fpm working
2017-07-13 19:46:48 -03:00
Carlos Alexandro Becker
485f71b51a
moving targets to buildtarget package as well
2017-07-09 13:14:35 -03:00
Carlos Alexandro Becker
ca9221a99c
fixes
2017-07-06 23:50:45 -03:00
Carlos Alexandro Becker
86e46fe61d
gometalinter fixes
2017-07-06 20:13:02 -03:00
Carlos Alexandro Becker
2e0e05134d
refactoring buildtarget
2017-07-06 19:49:21 -03:00
Carlos Alexandro Becker
02cf45cb7e
more build pipe tests
2017-07-03 01:31:57 -03:00
Carlos Alexandro Becker
3a4128b60f
fixed build tests
2017-07-03 01:11:46 -03:00
Carlos Alexandro Becker
8915f8bbf6
fixes for multiple builds
2017-07-03 00:57:39 -03:00
Carlos Alexandro Becker
827adc83c3
Merge branch 'builds' into naked-release
2017-07-03 00:10:04 -03:00
Carlos Alexandro Becker
0410f5bc72
cleaning up
2017-07-01 21:31:55 -03:00
Carlos Alexandro Becker
a9d6f0ab8c
fixed build tests
2017-07-01 13:21:07 -03:00
Carlos Alexandro Becker
3c68b894c5
archive pipe fixed
2017-07-01 12:46:08 -03:00
Carlos Alexandro Becker
45a24a1101
improved build
2017-07-01 12:27:13 -03:00
Carlos Alexandro Becker
059942124a
moved naming logic to another pkg
2017-07-01 12:14:43 -03:00
Carlos Alexandro Becker
05744bb0c7
wip more changes
2017-06-27 22:45:59 -03:00
Carlos Alexandro Becker
4504cd4527
fixing more errors
2017-06-27 19:36:36 -03:00
Carlos Alexandro Becker
ed5ccf9bdb
wip multiple builds
2017-06-27 19:20:08 -03:00
Carlos Alexandro Becker
cf3197eb40
improved debug logging
2017-06-25 11:37:40 -03:00
Carlos Alexandro Becker
9196f2efc3
merge
2017-06-23 19:48:52 -03:00
Carlos Alexandro Becker
295c7356f1
logs update
2017-06-23 19:47:08 -03:00
Carlos Alexandro Becker
7a955321c4
Merge branch 'master' into naked-release
2017-06-23 19:41:27 -03:00
Carlos Alexandro Becker
bd70d5ef42
improved some logs
2017-06-22 10:47:34 -03:00
Carlos Alexandro Becker
0d760731a1
debug, warning etc
2017-06-22 00:25:52 -03:00
Carlos Alexandro Becker
1e9e82d926
apex log
2017-06-22 00:09:14 -03:00
Jorin Vogel
24c50d804b
Use format: binary to skip archive
...
instead of a separate skip: true option.
2017-06-08 11:41:47 +02:00
Carlos Alexandro Becker
feb6cbc86f
Merge branch 'master' into naked-release
2017-06-06 10:05:59 -03:00
Jorin Vogel
de2b5f4385
Improve test coverage for archive skip option.
2017-06-05 18:28:29 +02:00
Jorin Vogel
454abc9a0a
Add option to skip archive.
...
See #243 .
Upload binaries directly instead of creating archive.
This option, however currently doesn't work together with brew and fpm
since they both require archived artifacts.
2017-06-05 18:04:07 +02:00
Carlos Alexandro Becker
b33b9956b8
allow linux ppc64 and ppc64le builds, as well openbsd arm
2017-06-05 09:22:14 -03:00
Jorin Vogel
5c1244e8e9
Use consistent string version of build targets.
2017-06-01 07:31:38 +02:00
Carlos Alexandro Becker
cd56d57723
pretty target string
2017-06-01 00:10:11 -03:00
jorin
16b7727084
Clearify build failed error message (cc #244 ).
2017-05-28 14:51:01 +02:00
Carlos Alexandro Becker
478624ef60
fix test
2017-05-19 23:43:51 -03:00
Carlos Alexandro Becker
f0cc6f7c59
Merge branch 'master' into globs
2017-05-11 13:27:44 -03:00
Carlos Alexandro Becker
44d9ddd104
reorder
2017-05-11 10:47:03 -03:00
Carlos Alexandro Becker
a6822c53ab
test
2017-05-11 10:44:44 -03:00
Carlos Alexandro Becker
9a3c8dbafb
custom env
2017-05-11 10:43:25 -03:00
Carlos Alexandro Becker
b2821d7e7f
support globs on archive.files
2017-05-11 00:05:51 -03:00
Carlos Alexandro Becker
0b320f2d2c
detailed build errors
2017-05-10 10:20:07 -03:00