Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
4b3f48e5
Commit
4b3f48e5
authored
1 year ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[dev] remove --version
parent
293ae307
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dev/make-distrib.sh
+2
-10
2 additions, 10 deletions
dev/make-distrib.sh
with
2 additions
and
10 deletions
dev/make-distrib.sh
+
2
−
10
View file @
4b3f48e5
...
...
@@ -33,10 +33,6 @@ if [ -z ${HDRCK+x} ]; then
HDRCK
=
"dune exec -- frama-c-hdrck"
fi
if
[
-z
${
VERSION
+x
}
]
;
then
VERSION
=
$(
cat
VERSION
)
fi
if
[
-z
${
VERSION_CODENAME
+x
}
]
;
then
VERSION_CODENAME
=
$(
cat
VERSION_CODENAME
)
fi
...
...
@@ -56,6 +52,8 @@ else
TAR
=
tar
fi
VERSION
=
$(
cat
VERSION
)
VERSION_SAFE
=
${
VERSION
/~/-
}
FRAMAC
=
"frama-c-
$VERSION_SAFE
-
$VERSION_CODENAME
"
...
...
@@ -81,14 +79,12 @@ do
echo
" --open-source Set open source header mode"
echo
" --ci-link Symlink to frama-c.tar.gz"
echo
" --hdrck <cmd> Check headers command"
echo
" --version <num> Set local VERSION"
echo
" --codename <name> Set local VERSION_CODENAME"
echo
""
echo
"ENVIRONMENT VARIABLES"
echo
""
echo
""
echo
" HDRCK=<cmd> (overriden set by --hdrck)"
echo
" VERSION=v<num> (overriden by --version)"
echo
" VERSION_CODENAME=<name> (overriden by --codename)"
echo
" OPEN_SOURCE=yes|no (overriden by --open-source and --close-source)"
echo
" CI_LINK=yes|no (also set by --ci-link)"
...
...
@@ -99,10 +95,6 @@ do
shift
HDRCK
=
"
$1
"
;;
"--version"
)
shift
VERSION
=
$1
;;
"--codename"
)
shift
VERSION_CODENAME
=
$1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment