Skip to content

Commit

Permalink
tags: add generator for tags.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhita committed Oct 10, 2022
1 parent 264fc45 commit 9b944a6
Show file tree
Hide file tree
Showing 14 changed files with 981 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tags/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
IMAGE_NAME=golang:1.18
export GOPROXY?=https://proxy.golang.org

default: \
generate \

generate:
go run ./generator/app.go

generate-dockerized:
docker run --rm -e WHAT -e GOPROXY -v $(shell pwd):/go/src/app:Z $(IMAGE_NAME) make -C /go/src/app generate

test:
go test -v ./generator/...

test-dockerized:
docker run --rm -v $(shell pwd):/go/src/app:Z $(IMAGE_NAME) make -C /go/src/app test

.PHONY: default generate generate-dockerized test test-dockerized
1 change: 1 addition & 0 deletions tags/generator/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
generated/
Loading

0 comments on commit 9b944a6

Please sign in to comment.