Commit 1bad347f authored by Samantha Monty's avatar Samantha Monty
Browse files

Removed sassc tool components

parent 3964cb33
......@@ -41,7 +41,6 @@ RUN apt-get update && apt-get install -y \
graphviz \
gnuplot \
rsync \
sassc \
unzip \
zip
......
......@@ -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 ["//"]
......
......@@ -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.
......
......@@ -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 " ++
......
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