changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > demo / makefile

changeset 30: aa37feddcfb2
parent: ba323d8c0f93
child: 77da08c7f445
author: ellis <ellis@rwest.io>
date: Thu, 15 Jun 2023 22:01:40 -0400
permissions: -rw-r--r--
description: tweaks
1 MODE?=release
2 LISP?=sbcl
3 CFG?=default.cfg
4 L_C=$(L) --no-userinit
5 L_D=$(L) --load demo.asd --eval '(ql:quickload "demo")'
6 L_S=$(L) --script
7 ARCH?=
8 A_C=ifeq ($(ARCH),x86_64) A_C=arch -$(ARCH) endif
9 .PHONY:build
10 RS:Cargo.toml rustfmt.toml src/crates/*
11 CL:*/*.asd */*.lisp
12 deps:;
13 clean:;rm -rf *.fasl;cargo clean
14 fmt:$(RS);cargo fmt
15 build:$(RS) $(CL);cargo build --$(MODE);$(L_D)
16  --eval '(asdf:make "demo")' \
17  --eval '(quit)'
18 docs:$(RS);cargo doc
19 test:$(RS) $(CL);cargo test;$(L_D) --eval '(asdf:test "demo")' --eval '(quit)'
20 #pack:;scripts/pack.ros
21 #check:;scripts/check.ros
22 ci:clean fmt build docs test;