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
decker
decker
Commits
00c12e96
Commit
00c12e96
authored
Oct 16, 2016
by
Henrik Tramberend
Browse files
Fix decktape
parent
a1636377
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/decker.hs
View file @
00c12e96
...
...
@@ -98,8 +98,9 @@ main = do
priority
2
$
"//*-deck.pdf"
%>
\
out
->
do
let
src
=
replaceSuffix
"-deck.pdf"
"-deck.html"
out
putNormal
$
src
++
" -> "
++
out
runHttpServer
publicDir
False
code
<-
cmd
"decktape.sh reveal"
(
"http://localhost:8888
/
"
++
(
makeRelative
p
roject
Dir
src
))
out
code
<-
cmd
"decktape.sh reveal"
(
"http://localhost:8888"
</>
(
makeRelative
p
ublic
Dir
src
))
out
case
code
of
ExitFailure
_
->
do
throw
$
DecktapeException
"Unknown."
...
...
Write
Preview
Supports
Markdown
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