git-bug/vendor/github.com/corpix/uarand/useragents.mk

11 lines
377 B
Makefile
Raw Normal View History

2018-08-16 19:21:36 +03:00
.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