LoginSignup
1
1

More than 5 years have passed since last update.

Step Count for Groovy

Posted at

takezoeさんのツールを使う。
https://github.com/takezoe/stepcounter

問題点

配布しているjarはGroovy非対応版

大雑把な手順

  • 自分でビルドする
  • 使う

必要なツール

maven
java (maven入っていればjavaも入っているはずですが念の為。。)

ソース取得

ビルド

cd stepcounter-master/core/stepcounter
mvn install -DskipTests=true

ビルド成果物

target/stepcounter-3.0.4-SNAPSHOT-jar-with-dependencies.jar
これを適当なディレクトリにコピペする。

cp target/stepcounter-3.0.4-SNAPSHOT-jar-with-dependencies.jar ~/

カウントする

java -cp ~/stepcounter-3.0.4-SNAPSHOT-jar-with-dependencies.jar jp.sf.amateras.stepcounter.Main src/main/groovy/
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1