Adrien Delorme
fef25e0b24
Revert "remove vet which seems to have been broken in golang v1.12"
...
This reverts commit 58f0b8c22e
.
2019-03-04 11:18:00 +01:00
Adrien Delorme
b842adcffd
Update Makefile
...
make sure we use "go list ./..."
* without removing vendor dir as it is now removed by default.
* stop using ls -d */
2019-03-04 11:17:58 +01:00
Adrien Delorme
e9990e8876
use `go vet` instead of `go tool vet`
...
https://golang.org/doc/go1.12#vet
2019-03-04 11:17:58 +01:00
Megan Marsh
58f0b8c22e
remove vet which seems to have been broken in golang v1.12
2019-02-28 14:51:29 -08:00
xinau
f5b13e3cb5
added inspec.io provisioner
2019-01-20 15:43:47 +00:00
Megan Marsh
f51707630d
clean up config.yml and decrease number of parallel processes in build
2018-11-19 16:02:43 -08:00
Adrien Delorme
03620d15c2
Makefile: make find work on windows using `-executable` instead of `-perm +111`
2018-10-16 16:23:07 +02:00
Adrien Delorme
69d59a83c2
Makefile: remove unrequired deps from test
2018-10-16 15:29:01 +02:00
Adrien Delorme
401fddbd33
Makefile remove duplicate go get
2018-10-16 15:28:35 +02:00
Adrien Delorme
161eb23978
makefile: put .PHONY at the top ?
2018-10-16 14:59:16 +02:00
Adrien Delorme
ac29ee59f8
makefile: ci now runs only testrace, default runs testrace
2018-10-16 12:08:52 +02:00
Adrien Delorme
8936ddaedf
makefile: testrace now uses `deps fmt-check mode-check vet`
2018-10-16 12:05:05 +02:00
Adrien Delorme
389280a530
makefile: refactor vet into it's own command
2018-10-16 12:04:41 +02:00
Adrien Delorme
09e0f2b93b
makefile: mode-check ignore ./website/tmp folder
2018-10-16 12:00:15 +02:00
Megan Marsh
268886b7d3
exclude git files (including git hooks) from the executable check
2018-09-06 10:23:58 -07:00
Matthew Hooker
725596268b
Whitelist website vendor from mode check
2018-08-31 11:35:58 -07:00
Matthew Hooker
62014840b4
remove sync from makefile since we commit vendor directory.
2018-08-24 20:52:47 -07:00
Rickard von Essen
b8adf689fd
Check that only certain files are executable
2018-08-15 16:08:50 +02:00
Megan Marsh
66c45273fb
Merge pull request #6494 from double16/vagrant-docker
...
Vagrant post-processor for using a Docker image
2018-07-23 12:18:52 -07:00
Patrick Double
4f9a91012f
Change docker-push to return docker-import artifact
2018-07-20 15:27:29 -05:00
Matthew Hooker
9384f322f6
Prevent make fmt from failing in default case
...
Apologies for the terrible hack. This just makes sure we always have
a default file to format, so if the unformatted list is empty
we don't error.
2018-07-17 13:30:10 -07:00
jabbera
4662d3eb95
make deps should download goimports
2018-07-09 14:49:32 -04:00
Matthew Hooker
fac6b2e71b
don't send every source file through the shell
2018-05-01 22:55:10 -07:00
Matthew Hooker
c163fbed35
use xargs to check for formatting
2018-05-01 20:39:48 -07:00
Matthew Hooker
2fc67f2210
Revert "Merge pull request #4494 from tb3088/EOL-handling"
...
This reverts commit dfe4f56c75
, reversing
changes made to e90c87f885
.
Revert changes to makefile and format checker
2018-05-01 13:09:55 -07:00
M. Marsh
dfe4f56c75
Merge pull request #4494 from tb3088/EOL-handling
...
Eol handling for the Repo and build process
2018-05-01 13:00:15 -07:00
Matthew Hooker
c6299972b9
s/boot_command/bootcommand/
2018-04-19 14:26:31 -07:00
Matthew Hooker
673245afcf
Replace boot command parser with PEG parser.
2018-04-19 14:26:28 -07:00
Matthew Patton
049e1bbf73
too many files for shell during Make, convert .go and .sh to EOL=lf
2018-04-07 05:22:39 -04:00
Matthew Hooker
70426af4eb
update contributing link
2018-04-02 10:59:59 -07:00
Matthew Hooker
7349e4fbab
Merge pull request #5082 from nak3/makefile-copy-binary
...
Copy binary under the bin directory
2017-10-13 14:40:15 -07:00
Billie Cleek
e7b0785380
support default GOPATH
...
set GOPATH as an explicit Make variable instead of relying on the
environment variable so that contributors that use the default GOPATH
without setting the GOPATH environment variable can build the dev
target.
2017-07-22 08:45:34 -07:00
Kenjiro Nakayama
edabd87ea8
Copy binary under the bin directory
2017-06-29 10:53:19 +09:00
Matthew Hooker
bcc0d24bf4
run docs through pandoc
2017-06-14 18:13:46 -07:00
Matthew Hooker
d6a0068c2d
don't echo build command in make
2017-05-22 15:03:21 -07:00
Matthew Hooker
97892349dd
vastly speed up dev builds.
...
Copies work from hashicorp/consul#2924
2017-05-04 20:30:09 -07:00
Matthew Hooker
3a79620e92
fail test target if we have gofmt problems
2016-11-01 14:07:00 -07:00
Matthew Hooker
b8893e1aa4
fix fmt and add check
2016-11-01 13:48:10 -07:00
Matthew Hooker
b74b7548f4
remove fmt as test dependency
2016-11-01 13:16:23 -07:00
David Campbell
1234b1353c
make fmt
...
- `gofmt` simplify and write to source
2016-10-22 17:36:44 -07:00
Matthew Hooker
b79cdb3e47
incorporates feedback from pr
2016-10-05 16:14:02 -07:00
Matthew Hooker
fb8ced982a
removes vendor make target
...
documents how to correctly add deps
removes unused dependencies
installs govendor as part of deps make target
2016-10-05 15:50:17 -07:00
Matthew Hooker
d08f1b503f
Applies govenor migrate godep
...
Updates contributing and make file
Removes empty vendor package
Removes go 1.4 logic
2016-10-05 15:49:22 -07:00
Matthew Hooker
c8f64a44fe
correct gofmt invocation
2016-09-29 14:21:16 -07:00
Rickard von Essen
936aaa0889
Self documenting Makefile ( #3290 )
2016-08-14 15:28:29 +02:00
Chris Bednarski
aa47c90ddd
Udpdated test/race timeouts to 2m because AWS seems to be taking a while
2016-05-06 23:15:05 -07:00
Christopher Boumenot
728c496370
Move version to its own package. ( #3460 )
2016-04-21 13:19:43 -07:00
Chris Bednarski
e9d0c8980c
Change to the vet built-in because cmd/vet is no longer available
2016-04-07 16:34:54 -07:00
Chris Bednarski
71b593a265
Increase test timeout to 30s to accomodate longer Azure test
2016-03-14 20:46:22 -07:00
Chris Bednarski
f25be250c7
Increase test -race timeout
2016-03-14 20:08:36 -07:00