From 1e43a6a7e35b32a95b0c533d8b2d31f242e72463 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Thu, 16 Aug 2018 18:21:36 +0200 Subject: add a new main to generate random bugs --- vendor/github.com/corpix/uarand/useragents.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vendor/github.com/corpix/uarand/useragents.mk (limited to 'vendor/github.com/corpix/uarand/useragents.mk') diff --git a/vendor/github.com/corpix/uarand/useragents.mk b/vendor/github.com/corpix/uarand/useragents.mk new file mode 100644 index 00000000..2e2e457b --- /dev/null +++ b/vendor/github.com/corpix/uarand/useragents.mk @@ -0,0 +1,10 @@ +.PHONY: useragents.go +useragents.go: + curl -Ls -H'User-Agent: gotohellwithyour403' \ + http://techpatterns.com/downloads/firefox/useragentswitcher.xml \ + | ./scripts/extract-user-agents \ + | ./scripts/generate-useragents-go $(name) \ + > $@ + go fmt $@ + +dependencies:: useragents.go -- cgit