summaryrefslogtreecommitdiff
path: root/Makefile
blob: 20b1560aa7994e97e07070b050f9a8772f220fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# gfold
# https://nickgerace.dev
#
# Note: this Makefile is not required to work with this repository.
# It is an optional helper.

MAKEPATH:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
NAME:=gfold

run:
	@cd $(MAKEPATH); cargo fmt
	@cd $(MAKEPATH); cargo run -- -p ..

tree:
	cd $(MAKEPATH); cargo tree

static:
	docker pull clux/muslrust
	cd $(MAKEPATH); docker run -v $(MAKEPATH):/volume --rm -t clux/muslrust cargo build