summaryrefslogtreecommitdiff
path: root/vendor/github.com/leodido/go-urn/makefile
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-12-01 22:08:04 +0100
commitb1af8fd87760b34e3ff2fd3bda38f211815a0473 (patch)
tree9317fad1a7ec298d7a8d2678e4e422953bbc6f33 /vendor/github.com/leodido/go-urn/makefile
parent[chore] update URLs to forked source (diff)
downloadgotosocial-b1af8fd87760b34e3ff2fd3bda38f211815a0473.tar.xz
[chore] remove vendor
Diffstat (limited to 'vendor/github.com/leodido/go-urn/makefile')
-rw-r--r--vendor/github.com/leodido/go-urn/makefile51
1 files changed, 0 insertions, 51 deletions
diff --git a/vendor/github.com/leodido/go-urn/makefile b/vendor/github.com/leodido/go-urn/makefile
deleted file mode 100644
index 68d5dd0f1..000000000
--- a/vendor/github.com/leodido/go-urn/makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-SHELL := /bin/bash
-RAGEL := ragel
-GOFMT := go fmt
-
-export GO_TEST=env GOTRACEBACK=all go test $(GO_ARGS)
-
-.PHONY: build
-build: machine.go
-
-.PHONY: clean
-clean:
- @rm -rf docs
- @rm -f machine.go
-
-.PHONY: images
-images: docs/urn.png
-
-.PHONY: snake2camel
-snake2camel:
- @cd ./tools/snake2camel; go build -o ../../snake2camel .
-
-.PHONY: removecomments
-removecomments:
- @cd ./tools/removecomments; go build -o ../../removecomments .
-
-machine.go: machine.go.rl
-
-machine.go: snake2camel
-
-machine.go: removecomments
-
-machine.go:
- $(RAGEL) -Z -G1 -e -o $@ $<
- @./removecomments $@
- @./snake2camel $@
- $(GOFMT) $@
-
-docs/urn.dot: machine.go.rl
- @mkdir -p docs
- $(RAGEL) -Z -e -Vp $< -o $@
-
-docs/urn.png: docs/urn.dot
- dot $< -Tpng -o $@
-
-.PHONY: bench
-bench: *_test.go machine.go
- go test -bench=. -benchmem -benchtime=5s ./...
-
-.PHONY: tests
-tests: *_test.go
- $(GO_TEST) ./...