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