Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sandbox_docker-builder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
AR_Sandbox
sandbox_docker-builder
Commits
78a0c456
Commit
78a0c456
authored
3 years ago
by
Alexis Durgnat
Browse files
Options
Downloads
Patches
Plain Diff
Build documentation by default
parent
c4f499b4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Scripts/entrypoint.sh
+6
-2
6 additions, 2 deletions
Scripts/entrypoint.sh
with
6 additions
and
2 deletions
Scripts/entrypoint.sh
+
6
−
2
View file @
78a0c456
...
@@ -64,7 +64,7 @@ function copy_artifacts() {
...
@@ -64,7 +64,7 @@ function copy_artifacts() {
echo
-e
"
${
YLW
}
=== Lib (
${
GRN
}
./build/lib
${
YLW
}
): ===
${
NC
}
"
echo
-e
"
${
YLW
}
=== Lib (
${
GRN
}
./build/lib
${
YLW
}
): ===
${
NC
}
"
echo
"
`
find /build/lib/
-type
f |
sed
's/\/build\/lib\///g'
`
"
echo
"
`
find /build/lib/
-type
f |
sed
's/\/build\/lib\///g'
`
"
echo
-e
"
${
YLW
}
=== Python Wrapper (
${
GRN
}
./build/wrapper
${
YLW
}
): ===
${
NC
}
"
echo
-e
"
${
YLW
}
=== Python Wrapper (
${
GRN
}
./build/wrapper
${
YLW
}
): ===
${
NC
}
"
echo
"
`
find /build/wrapper/
-type
f |
sed
's/\/build\/wrapper\///g'
`
"
echo
"
`
find /build/wrapper/
-type
f
-not
-path
"/build/wrapper/docs/*"
|
sed
's/\/build\/wrapper\///g'
`
"
echo_links
echo_links
}
}
...
@@ -152,7 +152,8 @@ if [ $# -gt 0 ]; then
...
@@ -152,7 +152,8 @@ if [ $# -gt 0 ]; then
if
[
$#
-lt
1
]
;
then
if
[
$#
-lt
1
]
;
then
# Clean everything if there isn't any provided component
# Clean everything if there isn't any provided component
make_target
$SBOX_LIB
clean
make_target
$SBOX_LIB
clean
make_target
$SBOX_PYWR
clean
make_target
$SBOX_PYWR
clean
clean_python_doc
else
else
for
i
in
"
$@
"
;
do
for
i
in
"
$@
"
;
do
# Clean every component passed in parameters
# Clean every component passed in parameters
...
@@ -161,6 +162,8 @@ if [ $# -gt 0 ]; then
...
@@ -161,6 +162,8 @@ if [ $# -gt 0 ]; then
cd
$app
cd
$app
make clean
make clean
done
done
elif
[
$i
=
"docs"
]
;
then
clean_python_doc
else
else
pth
=
$(
get_target_path
"
$i
"
)
pth
=
$(
get_target_path
"
$i
"
)
make_target
$pth
clean
make_target
$pth
clean
...
@@ -188,6 +191,7 @@ fi
...
@@ -188,6 +191,7 @@ fi
# If we're here, there wasn't any argument provided, so we just build
# If we're here, there wasn't any argument provided, so we just build
# everything and copy the output.
# everything and copy the output.
build_all
build_all
build_doc
copy_artifacts
copy_artifacts
exit
0
exit
0
\ No newline at end of file
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