実行順に従って。まずはadlintizeから
コマンドラインから
where adlintizeとすると、Rubyのbinにパスにadlintizeとadlintize.batがいるのが判るが、これらはplace holderで、以下のようなことをして実体を別の所に置いている。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
# ...snip... | |
gem 'adlint', version | |
load Gem.bin_path('adlint', 'adlintize', version) |
けっきょくlibの下、インストールされたバージョンのgemのbinフォルダのadlintizeを見ればいいことになる。
丁寧なコマンドライン処理の後、環境毎に用意された元ファイル群をERbに通して、ビルド環境の設定ファイルとして出力して終了。
やっぱりadlint本体からが本番らしい。
0 件のコメント:
コメントを投稿