chore: update ocamlformat

This commit is contained in:
Simon Cruanes 2024-10-01 10:58:23 -04:00
parent 7c684f1869
commit 5b4b71ee15
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,4 @@
version = 0.24.1
version = 0.26.2
profile=conventional
margin=80
if-then-else=k-r

View file

@ -17,4 +17,11 @@ WATCH?= @install @runtest
watch:
@dune build $(WATCH )-w
.PHONY: all build test watch
VERSION=$(shell awk '/^version:/ {print $$2}' ezcurl.opam)
update_next_tag:
@echo "update version to $(VERSION)..."
sed -i "s/NEXT_VERSION/$(VERSION)/g" $(wildcard src/**/*.ml) $(wildcard src/**/*.mli)
sed -i "s/NEXT_RELEASE/$(VERSION)/g" $(wildcard src/**/*.ml) $(wildcard src/**/*.mli)
.PHONY: all build test watch update_next_tag