Skip to content

Commit 15b46af

Browse files
committed
Document how to obtain a SASS compiler
1 parent 0f5a4a8 commit 15b46af

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ in the [#perl6 IRC channel](https://perl6.org/community/irc).
3030
- [Zef](#zef)
3131
- [Pod::To::HTML](#podtohtml)
3232
- [Mojolicious / Web Server](#mojolicious--web-server)
33+
- [SASS compiler](#sass-compiler)
3334
- [pygmentize](#pygmentize)
3435
- [Inline::Python](#inlinepython)
3536
- [Build and view the documentation](#build-and-view-the-documentation)
@@ -204,6 +205,7 @@ computer. To do this you will need:
204205
- [Mojolicious](https://metacpan.org/pod/Mojolicious)
205206
(optional; a Perl 5 web framework; it allows you to run a web
206207
app locally to display the docs)
208+
- [SASS](http://sass-lang.com/) Compiler
207209
- pygmentize (optional; a program to add syntax highlighting to code
208210
examples)
209211
- `Inline::Python` (optional; run Python code from within Perl 6,
@@ -247,14 +249,19 @@ install this now:
247249

248250
$ cpanm -vn Mojolicious
249251

250-
If you also plan on modifying the SASS stylesheets, install these modules to
251-
enable SASS processor:
252+
#### SASS Compiler
252253

253-
$ cpanm -vn CSS::Sass Mojolicious::Plugin::AssetPack
254+
To build the styles, you need to have a SASS compiler. You can either install
255+
the `sass` command
256+
257+
$ sudo apt-get install ruby-sass
254258

255-
Alternatively, you can install `sass` program and process SASS using that instead:
259+
or the [CSS::Sass Perl 5 module](https://modules.perl6.org/repo/CSS::Sass)
260+
261+
$ cpanm -vn CSS::Sass Mojolicious::Plugin::AssetPack
256262

257-
$ sass -w assets/sass/style.scss:html/css/style.css
263+
The SASS files are compiled when you run `make html`, or `make sass`, or
264+
start the development webserver (`./app-start`).
258265

259266
#### pygmentize
260267

0 commit comments

Comments
 (0)