mirror of
https://github.com/c-cube/linol.git
synced 2025-12-06 03:05:31 -05:00
26 lines
476 B
Makefile
26 lines
476 B
Makefile
all:
|
|
@dune build @all
|
|
|
|
watch:
|
|
@dune build @all -w
|
|
|
|
test:
|
|
@dune runtest --force --no-buffer
|
|
|
|
clean:
|
|
@dune clean
|
|
|
|
doc:
|
|
@dune build @doc
|
|
|
|
fmt:
|
|
@dune build @fmt --auto-promote
|
|
|
|
update-submodules:
|
|
@git submodule update --init
|
|
|
|
VERSION=$(shell awk '/^version:/ {print $$2}' linol.opam)
|
|
|
|
update_next_tag:
|
|
@echo "update version to $(VERSION)..."
|
|
sed -i "s/NEXT_RELEASE/$(VERSION)/g" $(wildcard src/*.ml) $(wildcard src/*.mli) $(wildcard src/**/*.ml) $(wildcard src/**/*.mli)
|