[groonga-dev,03522] Re: OSXのHomebrew用Formulaファイルの編集方法

Back to archive index

hiroshi hatake cosmo****@gmail*****
2015年 9月 29日 (火) 16:36:53 JST


畑ケです。

> 手順はこんな感じで良いのでしょうか?
> https://github.com/hiroyuki-sato/homebrew/commit/aa20ff27cdc3a50cfb4899906dd9cd79ca0ca25a
> https://gist.github.com/hiroyuki-sato/4790ea41805470f701b1

はい、これで大丈夫です。

Formulaのテストをするには

$ brew test groonga

によりできます。Formulaの中の

test do
… 
end

のコードが動きます。
# 今はgroonga --versionの出力しか見ていないのでもっと良いテストにした方がいいんですけど。。。

Homebrewへpull requestする際には、

$ gem install rubocop

によりrubocopをインストールして、

$ brew audit --strict ―online groonga

を実行してエラーが返ってこなければOKです。
# 以前はbrew auditだけで良かったんですが色々厳しくなりました。。

2015/09/29 16:25、Hiroyuki Sato <hiroy****@gmail*****> のメール:

> 佐藤です。
> 
> groonga 5.0.8のリリースありがとうございます。
> 私がgroongaで使っているhighlight_htmlを爆速にしていただいたので
> OSXでも利用したいと思っています。
> 
> でhomebrewのFormulaファイルを更新してみたのですが
> 手順はこんな感じで良いのでしょうか?
> https://github.com/hiroyuki-sato/homebrew/commit/aa20ff27cdc3a50cfb4899906dd9cd79ca0ca25a
> https://gist.github.com/hiroyuki-sato/4790ea41805470f701b1
> 
> ずっと自分でコンパイルしていたのであんまりhomebrewに詳しく
> ありません。
> 
> あと自分で作ったformulaってどうやったらテストできるのでしょうか?
> 
> よろしくお願いします。
> 
> _______________________________________________
> groonga-dev mailing list
> groon****@lists*****
> http://lists.osdn.me/mailman/listinfo/groonga-dev

-------------- next part --------------
HTMLの添付ファイルを保管しました...
Download 



groonga-dev メーリングリストの案内
Back to archive index