mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2026-02-02 17:35:09 +01:00
fix: makefile embedmd
Runs the Makefile on bash, so that pushd/popd works
This commit is contained in:
parent
80c06a483a
commit
4f76fe7be6
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -1,5 +1,7 @@
|
||||||
.PHONY: all check-license crossbuild build install test generate embedmd
|
.PHONY: all check-license crossbuild build install test generate embedmd
|
||||||
|
|
||||||
|
SHELL=/bin/bash
|
||||||
|
|
||||||
GITHUB_URL=github.com/jsonnet-bundler/jsonnet-bundler
|
GITHUB_URL=github.com/jsonnet-bundler/jsonnet-bundler
|
||||||
VERSION := $(shell git describe --tags --dirty --always)
|
VERSION := $(shell git describe --tags --dirty --always)
|
||||||
OUT_DIR=_output
|
OUT_DIR=_output
|
||||||
|
|
@ -8,7 +10,6 @@ PKGS=$(shell go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
all: check-license build generate test
|
all: check-license build generate test
|
||||||
|
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
LDFLAGS := '-s -w -extldflags "-static" -X main.Version=${VERSION}'
|
LDFLAGS := '-s -w -extldflags "-static" -X main.Version=${VERSION}'
|
||||||
cross: clean
|
cross: clean
|
||||||
|
|
@ -42,7 +43,7 @@ test-integration:
|
||||||
generate: embedmd
|
generate: embedmd
|
||||||
@echo ">> generating docs"
|
@echo ">> generating docs"
|
||||||
@./scripts/generate-help-txt.sh
|
@./scripts/generate-help-txt.sh
|
||||||
@$(GOPATH)/bin/embedmd -w `find ./ -path ./vendor -prune -o -name "*.md" -print`
|
$(GOPATH)/bin/embedmd -w `find ./ -path ./vendor -prune -o -name "*.md" -print`
|
||||||
|
|
||||||
check-license:
|
check-license:
|
||||||
@echo ">> checking license headers"
|
@echo ">> checking license headers"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue