mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 05:38:04 +00:00
86639acf70
The base directory has all shell scripts in scripts/ and all example/test files in examples/. A Makefile provides all the commands with helpful information. If a developer simply types `make` then vendor is properly updated, the code is formatted, linted, tested, built, acceptance test run, and installed. Linting errors resolved. Ignored test case (`TestParsePath`) updated to work as expected.
27 lines
400 B
Bash
Executable File
27 lines
400 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
|
|
gometalinter \
|
|
--skip=examples \
|
|
--tests \
|
|
--vendor \
|
|
--disable=aligncheck \
|
|
--disable=gotype \
|
|
--disable=goconst \
|
|
--cyclo-over=20 \
|
|
--deadline=300s \
|
|
./...
|
|
|
|
gometalinter \
|
|
--skip=examples \
|
|
--tests \
|
|
--vendor \
|
|
--disable=aligncheck \
|
|
--disable=gotype \
|
|
--disable=goconst \
|
|
--disable=gocyclo \
|
|
--deadline=300s \
|
|
./...
|