@ -1,4 +1,5 @@
FEATURES:="api,always-aggregate"
VERSION:=`cargo read-manifest | rematch - 'version":"([0-9\.]+)"' 1`
markov:
cargo build --release --features $(FEATURES)
@ -22,5 +23,7 @@ uninstall:
rm -f /usr/local/bin/markov
package:
git add .
git commit -S -m "Packaging version $(VERSION)"
cargo package
mv ./target/package/markov-$(VERSION).crate{,.gz}