Skip to content

Commit 6261b0b

Browse files
committed
Move commenter to its own repo
1 parent 7489d67 commit 6261b0b

16 files changed

Lines changed: 3 additions & 1313 deletions

File tree

commenter

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
11
#!/usr/bin/env bash
22

3-
if ! command -v cargo
3+
if ! command -v commenter &> /dev/null
44
then
5-
echo "Rust doesn't seem to be installed. https://rustup.rs/"
5+
echo "commenter is not installed, get it from https://github.com/bergmark/commenter"
66
exit 1
77
fi
88

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 $@
9+
commenter $@

etc/commenter/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

etc/commenter/Cargo.lock

Lines changed: 0 additions & 365 deletions
This file was deleted.

0 commit comments

Comments
 (0)