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 \ ...@@ -41,7 +41,6 @@ RUN apt-get update && apt-get install -y \
graphviz \ graphviz \
gnuplot \ gnuplot \
rsync \ rsync \
sassc \
unzip \ unzip \
zip zip
......
...@@ -186,13 +186,6 @@ main = do ...@@ -186,13 +186,6 @@ main = do
pdflatex ["-output-directory", dir, src] pdflatex ["-output-directory", dir, src]
pdf2svg [pdf, out] pdf2svg [pdf, out]
liftIO $ removeFile pdf 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 phony "clean" $ do
removeFilesAfter publicDir ["//"] removeFilesAfter publicDir ["//"]
......
...@@ -37,7 +37,6 @@ Decker uses a few external tools that need to be installed on the system: ...@@ -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` - [*Gnuplot*](http://gnuplot.sourceforge.net) to generate graphs using `dot`
- [*pdf2svg*](https://github.com/dawbarton/pdf2svg) to generate SVG files from - [*pdf2svg*](https://github.com/dawbarton/pdf2svg) to generate SVG files from
PDF documents PDF documents
- [*sassc*](https://github.com/sass/sassc) to compile SCSS to CSS
- *libbzip2-dev* - *libbzip2-dev*
- [*NodeJS*](https://nodejs.org/) as a prerequisite for Yarn - [*NodeJS*](https://nodejs.org/) as a prerequisite for Yarn
- [*Yarn*](https://yarnpkg.com) to install Javascript dependencies - [*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: ...@@ -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. Use [Homebrew](https://brew.sh) to install most of them.
``` {.sh} ``` {.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. For the rest follow instructions on their respective webites.
......
...@@ -8,7 +8,6 @@ module External ...@@ -8,7 +8,6 @@ module External
, pdflatex , pdflatex
, pdf2svg , pdf2svg
, decktape , decktape
, sassc
, checkExternalPrograms , checkExternalPrograms
) where ) where
...@@ -93,13 +92,6 @@ programs = ...@@ -93,13 +92,6 @@ programs =
[] []
(helpText (helpText
"Decktape PDF exporter (https://github.com/astefanutti/decktape)")) "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 () type Program = [String] -> Action ()
...@@ -128,9 +120,6 @@ pdf2svg = makeProgram "pdf2svg" ...@@ -128,9 +120,6 @@ pdf2svg = makeProgram "pdf2svg"
decktape :: Program decktape :: Program
decktape = makeProgram "decktape" decktape = makeProgram "decktape"
sassc :: Program
sassc = makeProgram "sassc"
helpText :: String -> String helpText :: String -> String
helpText name = helpText name =
"The " ++ "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