mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-11 23:50:05 +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
|
||||
|
||||
SHELL=/bin/bash
|
||||
|
||||
GITHUB_URL=github.com/jsonnet-bundler/jsonnet-bundler
|
||||
VERSION := $(shell git describe --tags --dirty --always)
|
||||
OUT_DIR=_output
|
||||
|
|
@ -8,7 +10,6 @@ PKGS=$(shell go list ./... | grep -v /vendor/)
|
|||
|
||||
all: check-license build generate test
|
||||
|
||||
|
||||
# Binaries
|
||||
LDFLAGS := '-s -w -extldflags "-static" -X main.Version=${VERSION}'
|
||||
cross: clean
|
||||
|
|
@ -42,7 +43,7 @@ test-integration:
|
|||
generate: embedmd
|
||||
@echo ">> generating docs"
|
||||
@./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:
|
||||
@echo ">> checking license headers"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue