ドキュメント

サポート

Update files before checkout

Create a trigger that verifies files are updated before they are checked out.
読み終わるまでの所要時間 1 分最終更新 5ヶ月前

This sample is a Ruby script that ensures that files are up to date before you check them out.
#!/usr/bin/rubyfiles = ''STDIN.readlines.each do |line| files << " " << lineendsystem("cm update #{files}")

Trigger creation command (Windows)

cm trigger create before-clientcheckout "update before co" "ruby c:\plastic\triggers\update-before-co.rb"