aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/Makefile')
-rw-r--r--cmd/web/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/web/Makefile b/cmd/web/Makefile
index 3b100d1..52e2289 100644
--- a/cmd/web/Makefile
+++ b/cmd/web/Makefile
@@ -20,7 +20,7 @@ install:
20 yarn --version 20 yarn --version
21 yarn install 21 yarn install
22 22
23static: $(STATIC_BUILD_DIR) js $(addprefix $(STATIC_BUILD_DIR)/, $(STATIC_FILES)) $(ICONS) 23static: $(STATIC_BUILD_DIR) $(STATIC_BUILD_DIR)/fonts js $(addprefix $(STATIC_BUILD_DIR)/, $(STATIC_FILES)) $(ICONS)
24 24
25js: build/static/main.js 25js: build/static/main.js
26 26
@@ -32,7 +32,9 @@ $(STATIC_BUILD_DIR):
32 mkdir -p $@ 32 mkdir -p $@
33 mkdir -p $@/icons/black 33 mkdir -p $@/icons/black
34 mkdir -p $@/icons/color 34 mkdir -p $@/icons/color
35 mkdir -p $@/fonts 35
36$(STATIC_BUILD_DIR)/fonts:
37 mkdir -p $@
36 38
37$(BUILD_DIR)/%.js: $(SRC_DIR)/%.jsx 39$(BUILD_DIR)/%.js: $(SRC_DIR)/%.jsx
38 eslint --fix $< 40 eslint --fix $<