tomato/other/docker/cimplefmt/run

9 lines
217 B
Plaintext
Raw Normal View History

#!/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 "$@"