-
Notifications
You must be signed in to change notification settings - Fork 47
/
Makefile
33 lines (29 loc) · 1.19 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
SHELL := /bin/bash
.DEFAULT_GOAL := ci
TARGETS := $(shell ls .scripts)
.PHONY: run clean $(TARGETS)
$(TARGETS):
./.scripts/$@
run:
go run main.go run example/00-demo.yml
examples: clean build
./dist/bashful run example/00-demo.yml
./dist/bashful run example/01-simple.yml
./dist/bashful run example/02-simple-and-pretty.yml
./dist/bashful run example/03-repetitive.yml
./dist/bashful run example/04-repetitive-parallel.yml
./dist/bashful run example/05-minimal.yml
./dist/bashful run example/06-with-errors.yml || true
# ./dist/bashful run example/07-from-url.yml || true
./dist/bashful run example/08-complicated.yml || true
# ./dist/bashful run example/09-stress-and-flow-control.yml
./dist/bashful run example/10-bad-values.yml || true
./dist/bashful run example/11-tags.yml --tags some-app1
./dist/bashful run example/11-tags.yml --only-tags migrate
./dist/bashful run example/12-share-variables.yml
./dist/bashful run example/13-single-line.yml
# ./dist/bashful run example/14-sudo.yml
./dist/bashful run example/15-yaml-includes.yml
./dist/bashful bundle example/16-bundle-manifest.yml && ./16-bundle-manifest.bundle; rm -f 16-bundle-manifest.bundle
clean:
rm -f dist/bashful build.log