Commit 3218622f authored by erwan's avatar erwan

Build: make a smaller tgz for opam

parent abd625df
Pipeline #28483 passed with stages
in 3 minutes and 38 seconds
......@@ -11,7 +11,6 @@ stages:
build:
stage: build
script:
- sudo apt-get install -y m4
- opam repo add opam-ocaml-org "https://opam.ocaml.org"
- opam repo add verimag-sync-repo "http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/test/opam-repository"
- opam update
......
......@@ -42,4 +42,4 @@ test: # cpcomp
###################################################
# for developpers
include ./Makefile.dev
-include ./Makefile.dev
......@@ -58,11 +58,16 @@ tags:
NAME=lutin
opam-rel :
make-opam-pack $(NAME)
SRC=lib bin stdlib examples LICENSE Makefile Makefile.version *.opam
opam-test :
make-opam-pack $(NAME) -test
lutin.$(VERSION).tgz: $(SRC)
git archive --prefix=lutin.$(VERSION)/ -o $@ HEAD $(SRC)
opam-rel : lutin.$(VERSION).tgz
make-opam-pack lutin.$(VERSION) $(NAME)
opam-test : lutin.$(VERSION).tgz
make-opam-pack lutin.$(VERSION) $(NAME) -test
###############################
# pushing onto the official repo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment