Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
decker
decker
Commits
1bad347f
Commit
1bad347f
authored
Nov 13, 2018
by
Samantha Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed sassc tool components
parent
3964cb33
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
21 deletions
+1
-21
Dockerfile
Dockerfile
+0
-1
app/Decker.hs
app/Decker.hs
+0
-7
readme.md
readme.md
+1
-2
src/External.hs
src/External.hs
+0
-11
No files found.
Dockerfile
View file @
1bad347f
...
...
@@ -41,7 +41,6 @@ RUN apt-get update && apt-get install -y \
graphviz
\
gnuplot
\
rsync
\
sassc
\
unzip
\
zip
...
...
app/Decker.hs
View file @
1bad347f
...
...
@@ -186,13 +186,6 @@ main = do
pdflatex
[
"-output-directory"
,
dir
,
src
]
pdf2svg
[
pdf
,
out
]
liftIO
$
removeFile
pdf
priority
2
$
"//*.css"
%>
\
out
->
do
let
src
=
out
-<.>
".scss"
exists
<-
doesFileExist
src
when
exists
$
do
need
[
src
]
sassc
[
src
,
out
]
--
phony
"clean"
$
do
removeFilesAfter
publicDir
[
"//"
]
...
...
readme.md
View file @
1bad347f
...
...
@@ -37,7 +37,6 @@ Decker uses a few external tools that need to be installed on the system:
-
[
*Gnuplot*
](
http://gnuplot.sourceforge.net
)
to generate graphs using
`dot`
-
[
*pdf2svg*
](
https://github.com/dawbarton/pdf2svg
)
to generate SVG files from
PDF documents
-
[
*sassc*
](
https://github.com/sass/sassc
)
to compile SCSS to CSS
-
*libbzip2-dev*
-
[
*NodeJS*
](
https://nodejs.org/
)
as a prerequisite for Yarn
-
[
*Yarn*
](
https://yarnpkg.com
)
to install Javascript dependencies
...
...
@@ -47,7 +46,7 @@ Decker uses a few external tools that need to be installed on the system:
Use
[
Homebrew
](
https://brew.sh
)
to install most of them.
```
{.sh}
brew install rsync unzip graphviz gnuplot pdf2svg
sassc
yarn
brew install rsync unzip graphviz gnuplot pdf2svg yarn
```
For the rest follow instructions on their respective webites.
...
...
src/External.hs
View file @
1bad347f
...
...
@@ -8,7 +8,6 @@ module External
,
pdflatex
,
pdf2svg
,
decktape
,
sassc
,
checkExternalPrograms
)
where
...
...
@@ -93,13 +92,6 @@ programs =
[]
(
helpText
"Decktape PDF exporter (https://github.com/astefanutti/decktape)"
))
,
(
"sassc"
,
ExternalProgram
[]
"sassc"
[
"--style"
,
"nested"
]
[
"-v"
]
(
helpText
"LibSass wrapper (https://github.com/sass/sassc)"
))
]
type
Program
=
[
String
]
->
Action
()
...
...
@@ -128,9 +120,6 @@ pdf2svg = makeProgram "pdf2svg"
decktape
::
Program
decktape
=
makeProgram
"decktape"
sassc
::
Program
sassc
=
makeProgram
"sassc"
helpText
::
String
->
String
helpText
name
=
"The "
++
...
...
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