ligo/scripts/ligo.sh

11 lines
411 B
Bash
Raw Permalink Normal View History

2019-05-28 22:54:37 +04:00
#!/bin/sh
set -e
if test "x$PWD" = "x"; then
2019-05-28 22:54:37 +04:00
echo "Cannot detect the current directory, the environment variable PWD is empty."
exit 1
else
docker run --rm -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:next "$@"
fi
# Do not remove the next line. It is used as an approximate witness that the download of this file was complete. This string should not appear anywhere else in the file.
# END OF DOWNLOADED FILE