Commit 274a734cb1eb39f332d1ab99e2d14881d3c3d924
Run linter only after changes
Grey Nicholson committed on 5/11/2022, 11:35:15 PMParent: 09b114cdd1d3e593fdde24cfc682313f348b84a5
Files changed
Makefile | changed |
Makefile | ||
---|---|---|
@@ -41,9 +41,12 @@ | ||
41 | 41 … | echo -e "cd ${SSHDIR} \n put -r output/* \n exit" | \ |
42 | 42 … | sshpass -e sftp -oBatchMode=no -b - sftp://${SSHUSER}@gkn.me.uk:${SSHPORT} |
43 | 43 … | touch $@ |
44 | 44 … | |
45 | -lint: $(shell find static/style) | |
45 … | +lint: .cache/lint | |
46 … | + | |
47 … | +.cache/lint: $(shell find static/style) | |
46 | 48 … | toolbox run npx -y prettier -w static/style/tarazed.css |
49 … | + touch $@ | |
47 | 50 … | |
48 | 51 … | serve: output |
49 | 52 … | cd output && python -m http.server |
Built with git-ssb-web