We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7489d67 commit 6261b0bCopy full SHA for 6261b0b
16 files changed
commenter
@@ -1,20 +1,9 @@
1
#!/usr/bin/env bash
2
3
-if ! command -v cargo
+if ! command -v commenter &> /dev/null
4
then
5
- echo "Rust doesn't seem to be installed. https://rustup.rs/"
+ echo "commenter is not installed, get it from https://github.com/bergmark/commenter"
6
exit 1
7
fi
8
9
-if [ "$1" = "outdated" ];
10
-then
11
- if ! command -v latest-version &> /dev/null
12
- then
13
- echo "This command requires latest-version in your PATH"
14
- echo "Install it with: "
15
- echo "stack install --stack-yaml etc/commenter/latest-version/stack.yaml"
16
- exit 1
17
- fi
18
-fi
19
-
20
-cargo run -q --release --manifest-path etc/commenter/Cargo.toml $@
+commenter $@
etc/commenter/.gitignore
etc/commenter/Cargo.lock
0 commit comments