-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 869 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 869 Bytes
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
help: #: show this help
@echo "Available targets:"
@sed -n -e 's/^\([^:@]*\):.*#: \(.*\)/ make \1 |\2/p' Makefile | column -t -s '|'
.PHONY: help
shell: #: start Julia REPL with FunSQLShowcase loaded
julia --project -e "using Revise; using FunSQL, FunSQLShowcase;" -i
.PHONY: shell
pluto: #: start a Pluto notebook server
julia --project -e 'using Pluto; Pluto.run(dismiss_motivational_quotes = true, enable_ai_editor_features = false)'
.PHONY: pluto
build: #: export Pluto notebooks to HTML
julia --project build.jl
.PHONY: build
serve: #: start HTTP server for exported HTML
python -m http.server -d build
.PHONY: serve
pkg_instantiate: #: instantiate the project
julia --project -e 'using Pkg; Pkg.instantiate()'
.PHONY: pkg_instantiate
pkg_update: #: update Julia project dependencies
julia --project -e 'using Pkg; Pkg.update()'
.PHONY: pkg_update