forked from ReactiveBayes/ExponentialFamily.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (15 loc) · 807 Bytes
/
Copy pathMakefile
File metadata and controls
22 lines (15 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
scripts_init:
julia --startup-file=no --project=scripts/ -e 'using Pkg; Pkg.resolve(); Pkg.update(); Pkg.precompile();'
lint: scripts_init ## Code formating check
julia --startup-file=no --project=scripts/ scripts/format.jl
format: scripts_init ## Code formating run
julia --startup-file=no --project=scripts/ scripts/format.jl --overwrite
benchmark: scripts_init ## Code formating run
julia --startup-file=no --project=scripts/ scripts/benchmark.jl
.PHONY: docs
doc_init:
julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate();'
docs: doc_init ## Generate documentation
julia --project=docs/ docs/make.jl
servedocs: doc_init ## Serve documentation (and auto-reload on change), requires LiveServer.jl
julia --project=docs -e 'using LiveServer; servedocs()'