changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > demo / makefile

changeset 14: 2bbf5ce73537
parent: 1fedeaa5bfc5
child: af615d1895cb
author: ellis <ellis@rwest.io>
date: Tue, 23 May 2023 20:43:02 -0400
permissions: -rw-r--r--
description: rs updates
1 M ?= release #mode
2 L ?= sbcl #lisp
3 P ?= python3 #python
4 RS:Cargo.toml build.rs lib.rs obj fig
5 CL:*.asd *.lisp
6 clean:;rm -rf *.fasl;cargo clean
7 fmt:$(RS);cargo fmt
8 build:$(RS) $(CL);cargo build --$(M);$L install.lisp
9 ffi:build;cp target/$(M)/libdemo.dylib ffi;cd ffi;$(P) ffi/build.py
10 docs:$(RS);cargo doc
11 test:$(RS);cargo test
12 #pack:;scripts/pack.ros
13 #check:;scripts/check.ros
14 ci:clean fmt build ffi docs test;
15 .PHONY:build