-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (18 loc) · 946 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Use ELM_HOME if set, otherwise default to ~/.elm
ELM_HOME ?= ~/.elm
.PHONY: all
all: echo_elm_home Url VirtualDom BreakVirtualDom
echo_elm_home:
echo "ELM_HOME is set to $(ELM_HOME)"
VirtualDom:
rm -f $(ELM_HOME)/0.19.1/packages/elm/virtual-dom/1.0.3/artifacts.dat
rm -f $(ELM_HOME)/0.19.1/packages/elm/virtual-dom/1.0.3/docs.json
patch -uN $(ELM_HOME)/0.19.1/packages/elm/virtual-dom/1.0.3/src/Elm/Kernel/VirtualDom.js patch/VirtualDom.js.1.patch
Url:
rm -f $(ELM_HOME)/0.19.1/packages/elm/url/1.0.0/artifacts.dat
rm -f $(ELM_HOME)/0.19.1/packages/elm/url/1.0.0/docs.json
patch -uN $(ELM_HOME)/0.19.1/packages/elm/url/1.0.0/src/Url.elm patch/Url.elm.patch
BreakVirtualDom:
rm -f $(ELM_HOME)/0.19.1/packages/elm/virtual-dom/1.0.3/artifacts.dat
rm -f $(ELM_HOME)/0.19.1/packages/elm/virtual-dom/1.0.3/docs.json
patch -uN $(ELM_HOME)/0.19.1/packages/elm/virtual-dom/1.0.3/src/Elm/Kernel/VirtualDom.js patch/VirtualDom.js.2.patch