Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lutin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
verimag
synchrone
lutin
Commits
452e17d5
Commit
452e17d5
authored
Mar 30, 2019
by
erwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: rationalisation of version files handling
parent
8c7123e7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
19 deletions
+27
-19
Makefile
Makefile
+1
-1
Makefile.version
Makefile.version
+23
-0
_oasis
_oasis
+1
-1
lutin/src/auto2Lucky.ml
lutin/src/auto2Lucky.ml
+1
-1
lutin/src/lutVersion.ml
lutin/src/lutVersion.ml
+0
-13
lutin/src/mainArg.ml
lutin/src/mainArg.ml
+1
-3
No files found.
Makefile
View file @
452e17d5
...
...
@@ -13,7 +13,7 @@ lutin-utils/src/lutinUtils.ml: lutin-utils/src/lutinUtils.idl
cd
lutin-utils/src/
;
make
###################################################
build
:
setup.data
build
:
setup.data
lutin/src/version.ml
ocaml setup.ml
-build
setup.ml
:
_oasis lutin/src/version.ml polka/vector.ml lutin-utils/src/lutinUtils.ml
...
...
Makefile.version
0 → 100644
View file @
452e17d5
#
SHA
:=
`
git log
-1
--pretty
=
format:
"%h"
`
VERSION
=
$(
shell
git describe
--tags
)
echover
:
echo
"VERSION=
$(VERSION)
"
echo
"PRE_VERSION=
$(PRE_VERSION)
"
lutin/src/version.ml
:
cd
$(LURETTE_PATH)
;
\
echo
"let str=
\"
$(VERSION)
\"
"
>
lutin/src/version.ml
;
\
echo
"let sha=
\"
$(SHA)
\"
"
>>
lutin/src/version.ml
;
\
rm
-f
version.tex
;
\
date
+VERSION_DATE
=
%d-%m-%y
>
version.tex
;
\
echo
"
\\\n
ewcommand{
\\\v
ersion}{
$(VERSION)
}"
>
doc/version.tex
;
\
echo
"
\\\n
ewcommand{
\\\s
ha}{
$(SHA)
}"
>>
doc/version.tex
;
\
echo
"
\\\n
ewcommand{
\\\v
ersionname}{Trilby}"
>>
doc/version.tex
;
\
echo
"
\\\n
ewcommand{
\\\v
ersiondate}{
`
date
+%d-%m-%y
`
}"
>>
doc/version.tex
;
\
[
-d
doc/lutin-man/objs
]
||
mkdir
doc/lutin-man/objs
;
\
cp
doc/version.tex doc/lutin-man/objs/
;
\
cp
doc/version.tex doc/lutin-man/
_oasis
View file @
452e17d5
...
...
@@ -41,7 +41,7 @@ Library lutin
Install:true
CompiledObject: native
XMETAEnable: true
InternalModules: Auto2Lucky,AutoGen,Bddd,CheckEnv,CheckType,CkIdentInfo,CkTypeEff,CoAlgExp,CoIdent,CoTraceExp,Constraint,Draw,Exp,ExpEval,Expand,ExprUtil,FGen,Fair_bddd,Formula_to_bdd,GenOcamlGlue,Glue,Gne,Guard,Lexeme,LoopWeights,Luc2alice,Luc2c,LucFGen,Lucky,LutErrors,LutExe,LutLexer,LutParser,LutPredef,LutProg,
LutVersion,MainArg,Ne,Parsers,Poly_draw,Polyhedron,Prevar,Prog,Reactive,Rif,Sol_nb,Solver,Store,Syntaxe,SyntaxeDump,Thickness,Type,Util,Utils,Value,Var,Verbose,Version
InternalModules: Auto2Lucky,AutoGen,Bddd,CheckEnv,CheckType,CkIdentInfo,CkTypeEff,CoAlgExp,CoIdent,CoTraceExp,Constraint,Draw,Exp,ExpEval,Expand,ExprUtil,FGen,Fair_bddd,Formula_to_bdd,GenOcamlGlue,Glue,Gne,Guard,Lexeme,LoopWeights,Luc2alice,Luc2c,LucFGen,Lucky,LutErrors,LutExe,LutLexer,LutParser,LutPredef,LutProg,
Version,MainArg,Ne,Parsers,Poly_draw,Polyhedron,Prevar,Prog,Reactive,Rif,Sol_nb,Solver,Store,Syntaxe,SyntaxeDump,Thickness,Type,Util,Utils,Value,Var,Verbose
DllLib: libgmp.so dllcamlidl.so
Library bddrand
...
...
lutin/src/auto2Lucky.ml
View file @
452e17d5
...
...
@@ -22,7 +22,7 @@ let print_header
(
auto
:
AutoGen
.
t
)
=
(
fprintf
os
"-- generated by lutin2 %s
.%s
\n
"
LutVersion
.
number
LutVersion
.
release
;
"-- generated by lutin2 %s
\n
"
Version
.
str
;
fprintf
os
"-- file: %s node: %s
\n
"
srcname
...
...
lutin/src/lutVersion.ml
deleted
100644 → 0
View file @
8c7123e7
(*
"imp"
Trilby (ou le Lutin d'Argail, Charles Nodier 1822)
Puck (the imp from A Midsummer Night's Dream, Shakespeare, 1594~1596)
? BUG et ARACH
*)
let
number
=
"Trilby"
let
release
=
"0"
lutin/src/mainArg.ml
View file @
452e17d5
...
...
@@ -2,9 +2,7 @@ open Version
open
Arg
let
version
=
Printf
.
sprintf
"lang: %s.%s, tool: %s (
\"
%s
\"
)
\n
"
LutVersion
.
number
LutVersion
.
release
Printf
.
sprintf
"%s (
\"
%s
\"
)
\n
"
Version
.
str
Version
.
sha
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment