Update Makefile

This commit is contained in:
Andros Fenollosa 2019-10-10 17:21:41 +02:00 committed by GitHub
parent 84f304cef3
commit 339341d66a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,5 +8,6 @@ prepare: ## Download and format csv with domains
wget http://s3.amazonaws.com/alexa-static/top-1m.csv.zip wget http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
unzip top-1m.csv.zip unzip top-1m.csv.zip
rm top-1m.csv.zip rm top-1m.csv.zip
cat top-1m.csv | sed -n 's/$$/,nil/p' | >> top-1m.csv cat top-1m.csv | sed -n 's/$$/,nil/p' >> top-1m-temp.csv
mv top-1m.csv resources mv top-1m-temp.csv resources/top-1m.csv
rm top-1m.csv