-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (41 loc) · 1.15 KB
/
Copy pathMakefile
File metadata and controls
57 lines (41 loc) · 1.15 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
57
# [[file:source.org::*Makefile][Makefile:1]]
##
# Starintel Gserver
#
# @file
# @version 0.1
LISP ?= sbcl
EMACS ?= emacs
.PHONY: all test integration-test test-emacs images load-images compose-config stack-test
all: test
test:
nix run .#star-unit-tests
integration-test:
nix run .#star-integration-tests
test-emacs:
$(EMACS) -Q --batch -L . -l client-test.el -f ert-run-tests-batch-and-exit
images:
nix build .#star-server-image .#couchdb-image .#clouseau-image .#rabbitmq-image
load-images:
nix run .#load-images
compose-config:
docker compose config --quiet
stack-test:
./scripts/stack-test.sh
run:
$(LISP) --load run.lisp
reload:
$(LISP) --non-interactive \
--load source/starintel-gserver.asd \
--eval '(ql:quickload :starintel-gserver)' \
--eval "(sb-ext:save-lisp-and-die \"star-server\" :toplevel 'star::main :executable t)"
build:
$(LISP) --non-interactive \
--load source/starintel-gserver.asd \
--eval '(ql:quickload :starintel-gserver)' \
--eval "(sb-ext:save-lisp-and-die \"star-server\" :toplevel 'star::main :executable t :compression t)"
install:
cp star-server /usr/local/bin
clean:
rm -v ./star-server
# Makefile:1 ends here