-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (27 loc) · 860 Bytes
/
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
TOOLCHAINS := \
Formula/dc-toolchain-stable.rb \
Formula/dc-toolchain-legacy.rb \
Formula/dc-toolchain-testing.rb
all: $(TOOLCHAINS)
$(TOOLCHAINS): ./bin/generate-toolchain-formula.sh
./bin/generate-toolchain-formula.sh
.PHONY: rebuild
rebuild:
$(RM) $(TOOLCHAINS)
$(MAKE) all
.PHONY: table
table:
@printf '| Name | Description |\n'
@printf '| --- | --- |\n'
@brew tap-info --json jpeach/dreamcast | jq -r '.[] | .formula_names | .[]' | sort | \
while read name; do \
desc=`brew info --json "$$name" | jq -r '.[] | .desc'` ; \
name=`brew info --json "$$name" | jq -r '.[] | .name'` ; \
printf '| [%s](./Formula/%s.rb) | %s | \n' "$$name" "$$name" "$$desc" ; \
done
.PHONY: check
check:
@shellcheck bin/*
@brew style jpeach/dreamcast
@brew audit --except=checksum --display-filename --tap=jpeach/dreamcast
# vim: set noet ts=8 sw=8 :