Method: Clash::Test#run
- Defined in:
- lib/clash/test.rb
#run ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/clash/test.rb', line 16 def run Dir.chdir(['dir']) do clear_cache system_cmd(['before'], ['trace']) config build if ['build'] unless ['build_only'] compare enforce_missing system_cmd(['after']) end cleanup_config end print_result results end |