summaryrefslogtreecommitdiff
path: root/src/jwebmail/css.py
blob: 24c52398c86f8f1daa86769c1bd2cb3ce2e1de34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import subprocess

import click


@click.command("compile-css")
def compile_css_command():
    subprocess.run(
        [
            "node_modules/.bin/sass",
            "--load-path=node_modules/",
            "scss/my_bulma.scss",
            "src/jwebmail/static/css/my_bulma.css",
        ],
        check=True,
    )
    click.echo("Done compiling.")