comparison lib/Slideshow/Util.pm @ 7:7d3faa099bc6

auto-Update generated slides by script
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 25 Jan 2018 17:01:05 +0900
parents e35e9779078a
children 0b502eb897cc
comparison
equal deleted inserted replaced
6:e35e9779078a 7:7d3faa099bc6
126 system('hg commit -m "auto-Update generated slides by script"'); 126 system('hg commit -m "auto-Update generated slides by script"');
127 }; 127 };
128 128
129 unless($stderr){ 129 unless($stderr){
130 say "$stdout"; 130 say "$stdout";
131 system('hg push');
131 } else { 132 } else {
132 say $stderr; 133 say $stderr;
133 croak "didn't push"; 134 croak "didn't push";
134 } 135 }
135 } 136 }