Public | Automated Build

Last pushed: 8 months ago
Short Description
Stylus task runner
Full Description

Stylus

Stylus task runner

Usage

docker run -it --rm \
    -v [path/to/source/dir]:/inputfiles \
    -v [path/to/build/dir]:/outputfiles \
    --name stylus"$(date +%N)" \
    gruen/stylus \
    [options] /inputfiles/[main].styl \
    -o /outputfiles/[buildname].css

For example, if you want to use watch

docker run -it --rm \
    -v [path/to/source/dir]:/inputfiles \
    -v [path/to/build/dir]:/outputfiles \
    --name stylus"$(date +%N)" \
    gruen/stylus \
    -w /inputfiles/[main].styl \
    -o /outputfiles/[buildname].css

For available options run

docker run -it --rm --name stylus"$(date +%N)" gruen/stylus --help

References

Stylus GitHub

Stylus website

Issues

  • Process doesn't seem to want to terminate... ctrl+c, docker stop [stylus container], Neither seem to work. Only luck has been with docker kill [stylus container]
Docker Pull Command
Owner
gruen
Source Repository