Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
a8f64503
Commit
a8f64503
authored
Jun 06, 2017
by
Jens Korinth
Browse files
Bugfix clean() in VivadoComposer
* stopped working due to rename of Vivado project
parent
d2f237c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/scala/tapasco/activity/composers/VivadoComposer.scala
View file @
a8f64503
...
...
@@ -96,8 +96,8 @@ class VivadoComposer()(implicit cfg: Configuration, maxThreads: Option[Int]) ext
/** @inheritdoc */
def
clean
(
bd
:
Composition
,
target
:
Target
,
f
:
Double
=
0
)(
implicit
cfg
:
Configuration
)
:
Unit
=
{
Common
.
getFiles
(
cfg
.
outputDir
(
bd
,
target
,
f
).
resolve
(
"
bit
"
).
toFile
).
filter
(
_
.
isFile
).
map
(
_
.
delete
)
Common
.
getFiles
(
cfg
.
outputDir
(
bd
,
target
,
f
).
resolve
(
"
bit
"
).
toFile
).
filter
(
_
.
isDirectory
).
map
(
_
.
deleteOnExit
)
Common
.
getFiles
(
cfg
.
outputDir
(
bd
,
target
,
f
).
resolve
(
"
microarch
"
).
toFile
).
filter
(
_
.
isFile
).
map
(
_
.
delete
)
Common
.
getFiles
(
cfg
.
outputDir
(
bd
,
target
,
f
).
resolve
(
"
microarch
"
).
toFile
).
filter
(
_
.
isDirectory
).
map
(
_
.
deleteOnExit
)
Common
.
getFiles
(
cfg
.
outputDir
(
bd
,
target
,
f
).
resolve
(
"user_ip"
).
toFile
).
filter
(
_
.
isFile
).
map
(
_
.
delete
)
Common
.
getFiles
(
cfg
.
outputDir
(
bd
,
target
,
f
).
resolve
(
"user_ip"
).
toFile
).
filter
(
_
.
isDirectory
).
map
(
_
.
deleteOnExit
)
}
...
...
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
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