Sign inSign up

gruen/stylus

By gruen

•Updated about 7 years ago

Stylus task runner

Image
2

833

gruen/stylus repository overview

⁠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]

Tag summary

Content type

Image

Digest

Size

26.7 MB

Last updated

about 7 years ago

docker pull gruen/stylus