-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
47 lines (39 loc) · 1.45 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
DOME_VERSION = 1.2.1
WREN_VERSION = 0.3.0
.PHONY: test dm dl clean docs wm wl
t test:
./dome --debug main.test.wren
c clean:
rm -f dome-${DOME_VERSION}-linux-x64.zip
rm -f dome-${DOME_VERSION}-macosx-x64.zip
rm -f wren_cli-mac-${WREN_VERSION}.zip
rm -f wren_cli-linux-${WREN_VERSION}.zip
rm -rf wren_cli-linux-${WREN_VERSION}
rm -f dome
rm -f wren
rm -f main.wren
d docs:
python3 ./tools/docs/__main__.py .
dm dome-macos:
wget https://github.com/avivbeeri/dome/releases/download/v${DOME_VERSION}/dome-${DOME_VERSION}-macosx-x64.zip
unzip -o dome-${DOME_VERSION}-macosx-x64.zip
rm -f dome-${DOME_VERSION}-macosx-x64.zip
rm -f main.wren
dl dome-linux:
wget https://github.com/avivbeeri/dome/releases/download/v${DOME_VERSION}/dome-${DOME_VERSION}-linux-x64.zip
unzip -o dome-${DOME_VERSION}-linux-x64.zip
rm -f dome-${DOME_VERSION}-linux-x64.zip
rm -f main.wren
wm wren-macos:
wget https://github.com/wren-lang/wren-cli/releases/download/${WREN_VERSION}/wren_cli-mac-${WREN_VERSION}.zip
unzip -o wren_cli-mac-${WREN_VERSION}.zip
rm -f wren_cli-mac-${WREN_VERSION}.zip
rm -f readme.md
mv wren_cli wren
wl wren-linux:
wget https://github.com/wren-lang/wren-cli/releases/download/${WREN_VERSION}/wren_cli-linux-${WREN_VERSION}.zip
unzip -o wren_cli-linux-${WREN_VERSION}.zip
rm -f wren_cli-linux-${WREN_VERSION}.zip
rm -f wren_cli-linux-${WREN_VERSION}/readme.md
mv wren_cli-linux-${WREN_VERSION}/wren_cli wren
rm -rf wren_cli-linux-${WREN_VERSION}