all: Misc fixes and test fixes
This commit is contained in:
2
Makefile
2
Makefile
@@ -40,7 +40,7 @@ USERNAME := $(shell cat ~/.config/copr 2>/dev/null | grep username | awk -F '='
|
||||
SERVER = 'dl.fedoraproject.org'
|
||||
REMOTE_PATH = 'pub/alt/$(USERNAME)/$(PROGRAM)'
|
||||
ifneq ($(GOTAGS),)
|
||||
BUILD_FLAGS = -tags '$(GOTAGS)'
|
||||
BUILD_FLAGS = -tags '$(GOTAGS)'
|
||||
endif
|
||||
GOOSARCHES ?= linux/amd64 linux/ppc64 linux/ppc64le linux/arm64 darwin/amd64
|
||||
|
||||
|
||||
@@ -35,9 +35,9 @@ Please read, enjoy and help improve our documentation!
|
||||
|
||||
| Documentation | Additional Notes |
|
||||
|---|---|
|
||||
| [general documentation](docs/documentation.md) | for everyone |
|
||||
| [quick start guide](docs/quick-start-guide.md) | for mgmt developers |
|
||||
| [frequently asked questions](docs/faq.md) | for everyone |
|
||||
| [general documentation](docs/documentation.md) | for everyone |
|
||||
| [resource guide](docs/resource-guide.md) | for mgmt developers |
|
||||
| [language guide](docs/language-guide.md) | for everyone |
|
||||
| [style guide](docs/style-guide.md) | for mgmt developers |
|
||||
|
||||
@@ -78,8 +78,8 @@ you can `vagrant ssh` into the `mgmt` machine. The MOTD will explain the rest.
|
||||
|
||||
## Using Docker
|
||||
|
||||
Alternatively, you can check [docker-guide](docs/docker-guide.md) in order to
|
||||
develop or deploy using docker
|
||||
Alternatively, you can check out the [docker-guide](docs/docker-guide.md) in
|
||||
order to develop or deploy using docker.
|
||||
|
||||
## Information about dependencies
|
||||
|
||||
|
||||
@@ -12,11 +12,15 @@ ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||
cd "${ROOT}"
|
||||
. test/util.sh
|
||||
|
||||
M="Makefile"
|
||||
find_files() {
|
||||
git ls-files | grep -e '\.sh$' -e '\.bash$' | grep -v 'misc/delta-cpu.sh'
|
||||
}
|
||||
|
||||
bad_files=$(
|
||||
if grep -q '^ ' "$M"; then
|
||||
echo "$M"
|
||||
fi
|
||||
for i in $(find_files); do
|
||||
# search for more than one leading space, to ensure we use tabs
|
||||
if grep -q '^ ' "$i"; then
|
||||
|
||||
Reference in New Issue
Block a user