Dodanie skryptu konwertera, przygotowanie do kategoryzacji list i dodanie pliku źródłowego JSON #1
5
Makefile
5
Makefile
@ -1,8 +1,11 @@
|
||||
CONVERTER = python3 src/converter.py
|
||||
|
||||
build: src/seo-source.json
|
||||
dist/seo-nonsense/adguard.txt:: src/seo-source.json
|
||||
wiktor marked this conversation as resolved
Outdated
|
||||
$(CONVERTER) --inputfile src/seo-source.json --targetformat adguard --outputfile dist/seo-nonsense/adguard.txt
|
||||
|
||||
build: dist/seo-nonsense/adguard.txt
|
||||
|
||||
|
||||
clean:
|
||||
rm -rf dist/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user
tutaj jeszcze trzeba dodać plik
src/seo-source.json
jako dependency. Wtedy Make będzie unikał buildów dla plików, dla których już build był zrobiony (patrząc po mtime)