Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
all: add a makefile to generate json and yaml data
Makefile | 16 ++++++++++++++++
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..42c0a87bb04717fc708c353ee02d5ff7a6d46c1b --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +.POSIX: + +all: json yaml + +json: + awk -f to_json.awk raw/domains.txt > domains.json + awk -f to_json.awk raw/usernames.txt > usernames.json + +yaml: + awk -f to_yaml.awk -v root="domains" raw/domains.txt > domains.yaml + awk -f to_yaml.awk -v root="usernames" raw/usernames.txt > usernames.yaml + +clean: + rm -f domains.yaml domains.json usernames.json usernames.yaml + +.PHONY: json yaml