Commit 0355230f authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

Merge branch 'release/5.3.0'

parents 5aba6d0d 36484f20
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
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment