Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Core Modules
dune-common
Commits
66a134ef
Commit
66a134ef
authored
14 years ago
by
Martin Nolte
Browse files
Options
Downloads
Patches
Plain Diff
allow to skip the first module in the list (useful for --resume)
[[Imported from SVN: r6110]]
parent
811bc394
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/dunecontrol
+8
-0
8 additions, 0 deletions
bin/dunecontrol
with
8 additions
and
0 deletions
bin/dunecontrol
+
8
−
0
View file @
66a134ef
...
...
@@ -453,6 +453,7 @@ usage () {
echo
" the one whose source tree we are standing in"
echo
" --resume resume a previous run (only consider the modules"
echo
" not built successfully on the previous run)"
echo
" --skipfirst skip the first module (use with --resume)"
echo
" --opts=FILE load default options from FILE"
echo
" (see dune-common/doc/example.opts)"
echo
" --builddir=NAME make out-of-source builds in a subdir NAME."
...
...
@@ -483,6 +484,9 @@ create_module_list() {
if
test
"x
$ONLY
"
!=
x
;
then
export
MODULES
=
"
$ONLY
"
fi
if
test
"x
$SKIPFIRST
"
=
"xyes"
;
then
export
MODULES
=
`
echo
$MODULES
|
cut
'--delimiter= '
--fields
=
2-
`
fi
}
# print the module list
...
...
@@ -502,6 +506,7 @@ trap onfailure EXIT
export
SEARCH_MODULES
=
""
export
MODULES
=
""
export
ONLY
=
""
export
SKIPFIRST
=
no
# parse commandline parameters
while
test
$#
-gt
0
;
do
...
...
@@ -616,6 +621,9 @@ while test $# -gt 0; do
exit
1
fi
;;
--skipfirst
)
export
SKIPFIRST
=
yes
;;
--debug
)
true
;;
# ignore this option, it is handled right at the beginning
--
*
)
usage
...
...
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