9 lines
217 B
Plaintext
9 lines
217 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ "$1" = "-u" ]; then
|
||
|
shift
|
||
|
docker pull toxchat/haskell:hs-cimple
|
||
|
docker build -t toxchat/cimplefmt -f other/docker/cimplefmt/Dockerfile .
|
||
|
fi
|
||
|
docker run --rm -v "$PWD:/work" toxchat/cimplefmt "$@"
|