Skip to content

Commit da59516

Browse files
authored
chore: make contribs/ Makefile dynamic (gnolang#2318)
Continues gnolang#2013 > People should focus on their contributions in the `contribs/MYFOLDER` without updating a shared `Makefile` + `.github/contribs/*.yml`. The CI part has been completed in gnolang#2040. This pull request handles the Makefile portion. --------- Signed-off-by: moul <[email protected]>
1 parent b696a09 commit da59516

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

contribs/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ help:
33
@echo "Available make commands:"
44
@cat Makefile | grep '^[a-z][^:]*:' | cut -d: -f1 | sort | sed 's/^/ /'
55

6-
programs=gnodev gnofaucet
6+
programs=$(wildcard */)
77

88
# command to run dependency utilities, like goimports.
99
rundep=go run -modfile ../misc/devdeps/go.mod

contribs/gnofaucet/Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ install:
55
.PHONY: build
66
build:
77
go build -o build/gnofaucet .
8+
9+
test:
10+
@echo "XXX: add tests"
11+
12+
lint:
13+
@echo "XXX: add lint"

contribs/gnokeykc/Makefile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
install:
2+
go install .
3+
4+
test:
5+
@echo "XXX: add tests"
6+
7+
lint:
8+
@echo "XXX: add lint"

contribs/gnomd/Makefile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
install:
2+
go install .
3+
4+
test:
5+
@echo "XXX: add tests"
6+
7+
lint:
8+
@echo "XXX: add lint"

0 commit comments

Comments
 (0)