packer-cn/command
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
* Add golangci-lint as linting tool

* Disable failing staticchecks to start; GitHub issue to handle coming soon

* Run `goimports -w` to repair all source files that have improperly
formatted imports

* makefile: Add ci-lint target to run on travis

This change adds a new make target for running golangci-lint on newly
added Go files only. This target is expected to run during Packer ci builds.

* .github/contributing: Add code linting instructions

* travis: Update job configuration to run parallel builds
2020-02-14 11:42:29 -05:00
..
test-fixtures Render variables one time on prepare method (#8727) 2020-02-13 17:35:23 +01:00
build.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
build_cancellation_test.go add more cancellation tests 2019-05-06 16:29:35 +02:00
build_cleanup_script_test.go add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether 2019-09-25 13:39:09 -07:00
build_parallel_test.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
build_test.go Render variables one time on prepare method (#8727) 2020-02-13 17:35:23 +01:00
build_timeout_test.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
command_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
console.go Fix text 2019-08-08 13:22:59 -05:00
fix.go Ensure help output is consistently formatted 2019-07-24 17:41:57 +01:00
fix_test.go Move fixer test to fix package 2019-07-24 18:04:17 +01:00
inspect.go make packer inspect not print sensitive variables. 2018-12-07 12:02:20 -08:00
meta.go borrow wrappedreadline workarounds from terraform and implement a similar check for piped commands; this makes the cli experience much cleaner 2019-06-06 13:26:07 -07:00
plugin.go remove extraneous files from when vsphere builder was a plugin, and move README into packer website as separated docs for vsphere-clone and vsphere-iso. Move option descriptions into struct code, and generate documentation directly from those structs as we do inside of the other builders 2020-01-07 16:59:31 -08:00
utils.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
validate.go Try to make help more consistent 2018-10-10 21:34:35 -04:00
validate_test.go Updated test to verify expected behavior 2015-07-13 19:32:28 -07:00
version.go Re-factor version command to use version.FormattedVersion() function. 2017-12-03 23:07:16 +01:00
version_test.go command: version tests 2014-10-27 20:58:44 -07:00