1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-13 01:30:50 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
8535ed3811 test: archive tests
Added tests for archive defaulter
2017-12-03 13:00:01 -02:00
1ed299a6d7 refactor: defaulter interface
Right now the code looks weird because the defaults
of a pipe are far away of the implementation of the pipe.

the intend of this PR is to bring them closer by having a
Defaulter interface.

I also renamed the Pipe interface to Piper, and removed
the Description method in favor for fmt.Stringer.
2017-12-03 13:00:01 -02:00
0e2e8c8eb3 feat: Add archive config 'wrap_in_directory'
The field is optional. When set to true, files in archive are wrapped
in a directory, which has the same name as the archive itself.
Tests have also been extended to cover this.

Closes #251
2017-10-02 18:53:18 +02:00
d85a9001ec removing all assert.New because vet shadow complains about this now
aaaaaaaaaaarhhhhhhhhgttt
2017-09-26 19:24:49 -03:00
57753af876 testlib 2017-07-23 16:27:46 -03:00
35278e85f5 cleanup 2017-07-13 22:54:28 -03:00
cae5d07141 fixed tests 2017-07-13 20:43:12 -03:00
881b17ede1 fixed tests 2017-07-03 01:08:14 -03:00
827adc83c3 Merge branch 'builds' into naked-release 2017-07-03 00:10:04 -03:00
bc7eba4860 archive tests fixed 2017-07-01 13:13:44 -03:00
24c50d804b Use format: binary to skip archive
instead of a separate skip: true option.
2017-06-08 11:41:47 +02:00
415e4e0334 Log name of skipped archive binary. Make tests consistent. 2017-06-05 19:21:33 +02:00
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
b2821d7e7f support globs on archive.files 2017-05-11 00:05:51 -03:00
26727a6f7f added more archive pipe test 2017-04-22 10:29:53 -03:00
7d8b698664 added more tests 2017-04-21 16:03:36 -03:00
b44e8029c4 added archiving format override support 2017-04-21 16:01:19 -03:00
6b11beb4ee added archive tests 2017-04-15 15:26:05 -03:00