forked from Miosa-osa/OptimalEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
56 lines (45 loc) · 1.54 KB
/
Copy pathMakefile
File metadata and controls
56 lines (45 loc) · 1.54 KB
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
48
49
50
51
52
53
54
55
56
# Optimal Engine - Make targets
#
# make install install deps + compile
# make bootstrap migrate + ingest sample-workspace/
# make dev boot the HTTP engine with a complete local runtime
# make repl boot iex for direct engine debugging
# make test full test suite
# make reality run the reality-check probes
# make docs-check public docs/repo hygiene checks
# make clean wipe _build/ and the dev SQLite
.PHONY: install bootstrap dev repl test reality docs-check clean seed help
help:
@echo "Optimal Engine - make targets"
@echo ""
@echo " make install - mix deps.get + mix compile"
@echo " make bootstrap - compile, migrate, ingest sample-workspace/"
@echo " make dev - run the HTTP engine with a local connector key"
@echo " make repl - iex -S mix for direct engine debugging"
@echo " make test - full test suite"
@echo " make reality - mix optimal.reality_check --hard"
@echo " make docs-check - public audit + whitespace check"
@echo " make clean - wipe _build/ and the dev SQLite"
@echo ""
@echo " CLI: bin/optimal doctor"
@echo " Quick start: bin/optimal install && bin/optimal bootstrap && bin/optimal dev"
install:
mix deps.get
mix compile
bootstrap: install
mix optimal.bootstrap
seed:
mix optimal.bootstrap
dev:
scripts/run-engine.sh
repl:
iex -S mix
test:
mix test
reality:
mix optimal.reality_check --hard
docs-check:
scripts/public-audit.sh
git diff --check
clean:
rm -rf _build/ .optimal/index.db*