Commit 77c0e8e3 authored by Daniel Kullmann's avatar Daniel Kullmann

Cleans up Makefile

parent 0eda4832
Pipeline #149237912 passed with stage
in 36 seconds
.PHONY: coronavirus-data.csv
all:
build: generate-json-files
mkdir -p public
build: public generate-json-files
cp -r lib public/
cp index.html public/index.html
public:
mkdir -p public
coronavirus-data.csv:
curl --silent -o coronavirus-data.csv https://opendata.ecdc.europa.eu/covid19/casedistribution/csv/
generate-json-files: coronavirus-data.csv
mkdir -p public
generate-json-files: public coronavirus-data.csv
python3 ./generate-json-files.py --output-file public/data.json
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment