Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor 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
mpim-sw
cdo
Commits
598f2d85
Commit
598f2d85
authored
8 years ago
by
Ralf Mueller
Browse files
Options
Downloads
Patches
Plain Diff
add new task to remove the target build dir and do a new source code sync
parent
cfbb747c
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
Rakefile
+7
-1
7 additions, 1 deletion
Rakefile
with
7 additions
and
1 deletion
Rakefile
+
7
−
1
View file @
598f2d85
...
...
@@ -185,6 +185,12 @@ def builder2task(builder,useHostAsName=false,syncSource=true)
task
toDo
[
:clean
]
do
|
t
|
execute
(
"make clean"
,
builder
)
end
@_help
[
:cleanSync
]
=
\
"rm target source dir and perform a fresh sync"
unless
@_help
.
has_key?
(
:cleanSync
)
task
toDo
[
:cleanSync
]
do
|
t
|
execute
(
"cd ; rm -rf
#{
builder
.
targetDir
}
"
,
builder
)
doSync
(
builder
)
if
syncSource
end
@_help
[
:checkV
]
=
\
"run './src/cdo -V' "
unless
@_help
.
has_key?
(
:checkV
)
...
...
@@ -192,7 +198,7 @@ def builder2task(builder,useHostAsName=false,syncSource=true)
execute
(
"./src/cdo -V"
,
builder
)
end
@_help
[
:showLog
]
=
"show
remote
config.log file"
unless
@_help
.
has_key?
(
:make
)
@_help
[
:showLog
]
=
"show config.log file"
unless
@_help
.
has_key?
(
:make
)
task
toDo
[
:showLog
]
do
|
t
|
execute
(
"cat config.log"
,
builder
)
end
...
...
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