d2/ci/release/template/README.md.sh

30 lines
515 B
Bash
Raw Normal View History

2022-11-11 09:17:06 +00:00
#!/bin/sh
set -eu
cat <<EOF
# d2
2022-11-12 22:19:09 +00:00
For docs, more installation options and the source code see https://oss.terrastruct.com/d2
2022-11-11 09:17:06 +00:00
version: $VERSION
## Install
2022-11-12 22:19:09 +00:00
\`\`\`sh
make install DRY_RUN=1
2022-11-12 22:19:09 +00:00
# If it looks right, run:
# make install
2022-11-12 22:19:09 +00:00
\`\`\`
Pass \`PREFIX=somepath\` to change the installation prefix from the default which is
\`/usr/local\` or \`~/.local\` if \`/usr/local\` is not writable with the current user.
2022-11-12 22:19:09 +00:00
## Uninstall
\`\`\`sh
make uninstall DRY_RUN=1
2022-11-12 22:19:09 +00:00
# If it looks right, run:
# make uninstall
2022-11-12 22:19:09 +00:00
\`\`\`
2022-11-11 09:17:06 +00:00
EOF