-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
Makefile
35 lines (29 loc) · 821 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
25
26
27
28
29
30
31
32
33
34
35
.PHONY: all
all: web
.PHONY: build
build:
julia --project=@. -e 'using Pkg; Pkg.instantiate()'
.PHONY: web
web:
julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); \
include("docs/make.jl"); \
using LiveServer; servedocs(); \
'
.PHONY: docs
docs: web
.PHONY: test
test:
julia -e 'using Pkg; Pkg.activate("."); Pkg.test()'
.PHONY: clean
clean:
-rm -f Manifest.toml docs/Manifest.toml
-rm -rf docs/build
-rm -rf Juisee_HW_v0.0.6 Juisee_HW_v0.0.6.zip
-rm -rf tools/fonts/Juisee_HW_v0.0.6 tools/fonts/Juisee_HW_v0.0.6.zip
.PHONY: release
release: clean
julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); \
include("docs/make.jl"); \
'
zip -r Juisee_HW_v0.0.6.zip Juisee_HW_v0.0.6
mv Juisee_HW_v0.0.6.zip tools/fonts