Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
0b49ea0d
Commit
0b49ea0d
authored
Jun 05, 2019
by
Marc Egger
Browse files
make documentation
parent
3dde35aa
Pipeline
#1904
passed with stages
in 2 minutes and 37 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
0b49ea0d
SHELL
:=
/bin/bash
PKG_VERSION
=
$(
shell
awk
'/version/ { print $$3
}
'
extension/ext_emconf.php |
sed
"s/'//g"
)
NIGHTLY_DATE
=
$(
shell
date
'+%Y%m%d'
)
...
...
@@ -117,4 +119,9 @@ phpunit:
phpunit_snapshot
:
snapshot phpunit
phpunit_release
:
release phpunit
doc-local
:
source
docker/_helper_functions.sh
;
makePathExecutable
"
${PWD}
/../"
docker pull t3docs/render-documentation
source
<
(
docker run
--rm
t3docs/render-documentation show-shell-commands
)
;
dockrun_t3rd makehtml
xdg-open
"Documentation-GENERATED-temp/Result/project/0.0.0/Index.html"
\ No newline at end of file
docker/_helper_functions.sh
0 → 100644
View file @
0b49ea0d
#!/bin/bash -ex
function
getHostPort
()
{
local
CONTAINER_PORT
=
"
$1
"
local
CONTAINER
=
"
$2
"
echo
$(
docker inspect
-f
"{{ (index (index .NetworkSettings.Ports
\"
${
CONTAINER_PORT
}
/tcp
\"
) 0).HostPort }}"
$CONTAINER
)
}
function
removeContainerAfterTimeout
()
{
local
TIMEOUT
=
"
$1
"
local
CONTAINER
=
"
$2
"
(
sleep
${
TIMEOUT
}
&&
docker
rm
-f
${
CONTAINER
}
)
&
disown
}
function
makePathExecutable
()
(
cd
"
$(
dirname
"
$1
"
)
"
while
[[
"
$PWD
"
!=
"/"
]]
do
echo
"make
$PWD
executable"
chmod
o+x
.
||
true
cd
..
done
)
function
getContainerName
()
{
local
CONTAINER
=
"
$1
"
local
CONTAINER_NAME
=
$(
docker inspect
--format
=
"{{.Name}}"
${
CONTAINER
}
)
echo
${
CONTAINER_NAME
:1
}
}
function
addUsernameToContainerName
()
{
local
CONTAINER
=
"
$1
"
local
CONTAINER_NAME
=
$(
getContainerName
${
CONTAINER
}
)
docker rename
${
CONTAINER_NAME
}
${
USER
}
_
${
CONTAINER_NAME
}
}
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