Commit 3ea79cb4bef1c48a7f939d8aab318a9810384cf1
Bootstrap toolbox
Grey Nicholson committed on 10/26/2022, 12:06:56 PMParent: 8d54e3a747b5b727ac6fe06e0a816970617bc13d
Files changed
Makefile | changed |
Makefile | |||
---|---|---|---|
@@ -8,8 +8,11 @@ | |||
8 | 8 … | python -m black . | |
9 | 9 … | touch $@ | |
10 | 10 … | ||
11 | 11 … | .cache/deps: Makefile | |
12 … | + toolbox run echo || toolbox -y create | ||
13 … | + toolbox run sh -c 'which npx || sudo dnf -y install npm' | ||
14 … | + toolbox run sh -c 'which pip || sudo dnf -y install pip' | ||
12 | 15 … | toolbox run pip install black | |
13 | 16 … | toolbox run pip install beautifulsoup4==4.9.3 | |
14 | 17 … | toolbox run pip install marko==1.1.0 | |
15 | 18 … | toolbox run pip install python-frontmatter==1.0.0 | |
@@ -20,9 +23,9 @@ | |||
20 | 23 … | touch $@ | |
21 | 24 … | ||
22 | 25 … | lint: .cache/lint | |
23 | 26 … | ||
24 | -.cache/lint: $(shell find static/style) | ||
27 … | +.cache/lint: $(shell find static/style) .cache/deps | ||
25 | 28 … | toolbox run npx -y prettier -w static/style/tarazed.css | |
26 | 29 … | touch $@ | |
27 | 30 … | ||
28 | 31 … | clean: .cache/clean |
Built with git-ssb-web