Skip to content
Snippets Groups Projects
Commit 15ee22b5 authored by Erwan Jahier's avatar Erwan Jahier
Browse files

Better msgs if the workflow described in "Makefile.dev" is violated.

parent 11223b59
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ test:
# 1 -U-> 0
# to implement such a workflow, C puts a lock (state 1) and U removes it (state 0)
uv:update_version
update_version:
rm -f src/lv6version.ml
make src/lv6version.ml
......@@ -38,10 +39,14 @@ update_version:
make clean && make
cia:
test -f committed || (git commit -a -F log && touch committed)
test -f committed && \
echo "*** I won't commit!\n*** until you 'make update_version'!" \
|| (git commit -a -F log && touch committed)
ci:
test -f committed || (git commit -F log && touch committed)
test -f committed && \
echo "*** I won't commit!\n*** until you 'make update_version'!" \
|| (git commit -F log && touch committed)
amend:
test -f committed && git commit -a -F log --amend
......@@ -71,8 +76,11 @@ $(WWW)/pool/$(PACKNAME).tgz: $(PACKNAME).tgz
mv $^ $@
opam : $(WWW)/pool/$(PACKNAME).tgz
cd $(WWW)/opam-repository/packages && \
oasis2opam $(HTTP)/pool/$(PACKNAME).tgz && \
cd .. ; opam-admin check && opam-admin make -g
test -f committed && ( \
cd $(WWW)/opam-repository/packages && \
oasis2opam $(HTTP)/pool/$(PACKNAME).tgz && \
cd .. ; opam-admin check && opam-admin make -g \
) || echo "*** I won't make an opam package\n*** until you commit something!"
OASISFormat: 0.4
Name: lustre-v6
Version: 1.632
Version: 1.633
Synopsis: The Lustre V6 Verimag compiler
Description: This package contains:
- lus2lic: the (current) name of the compiler (and interpreter via -exec).
......
(** Automatically generated from Makefile *)
let tool = "lus2lic"
let branch = "master"
let commit = "632"
let sha_1 = "ebeb303ab2867235869666e671600c955c8d887f"
let commit = "633"
let sha_1 = "11223b59a86e6a35ef5c04f33a1b7d1710eb8bd8"
let str = (branch ^ "." ^ commit ^ " (" ^ sha_1 ^ ")")
let maintainer = "jahier@imag.fr"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment