Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
0355230f
Commit
0355230f
authored
Feb 25, 2021
by
Mathias Goebel
Browse files
Merge branch 'release/5.3.0'
parents
5aba6d0d
36484f20
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build.properties
View file @
0355230f
project.name
=
http://textgrid.de/ns/SADE-fontane-develop
project.version
=
5.
2.1
project.version
=
5.
3.0
project.title
=
[Fontane] SADE
project.abbrev
=
SADE-fontane-develop
project.processorversion
=
5.2.0
...
...
post-install.xq
View file @
0355230f
...
...
@@ -3,9 +3,12 @@ xquery version "3.1";
declare
variable
$target
external
;
(: register REST APIs :)
for
$uri
at
$pos
in
(
collection
(
$target
)
/
base-uri
())[
ends-with
(
.,
".xqm"
)]
(
for
$uri
at
$pos
in
(
collection
(
$target
)
/
base-uri
())[
ends-with
(
.,
".xqm"
)]
let
$content
:=
$uri
=>
util:binary-doc
()
=>
util:base64-decode
()
let
$isRest
:=
if
(
contains
(
$content
,
"%rest:"
))
then
true
()
else
false
()
where
$isRest
return
exrest:register-module
(
xs:anyURI
(
$uri
))
)
,
sm:chmod
(
$target
||
"/modules/wiki/wiki.xqm"
,
"rwsrwxr-x"
)
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment