Remove an alias for ‘cloc’; I’ll just install the binary
- ID
adf5d2b- date
2023-11-29 23:42:41+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
4ea393a- message
Remove an alias for 'cloc'; I'll just install the binary- changed files
1 file, 18 deletions
Changed files
docker/cloc (565) → docker/cloc (0)
diff --git a/docker/cloc b/docker/cloc
deleted file mode 100755
index b6e690c..0000000
--- a/docker/cloc
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-
-set -o errexit
-set -o nounset
-
-# Note: the --platform line is to silence this warning on Apple Silicon:
-#
-# WARNING: The requested image's platform (linux/amd64) does not
-# match the detected host platform (linux/arm64/v8) and
-# no specific platform was requested
-#
-# Hopefully at some point cloc will start publishing ARM-based Docker images,
-# but until then it's not a big issue -- this isn't a CPU-intensive tool.
-docker run --rm \
- --volume $(pwd):$(pwd) \
- --workdir $(pwd) \
- --platform linux/amd64 \
- aldanial/cloc "$@"