changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > demo / makefile

changeset 22: ba323d8c0f93
parent: 3166a511fafb
child: aa37feddcfb2
author: ellis <ellis@rwest.io>
date: Sat, 03 Jun 2023 22:48:46 -0400
permissions: -rw-r--r--
description: refactor1
1 M?=release
2 L?=sbcl
3 C?=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 --$(M);$(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;