Mercurial > hg > Members > anatofuz > slides
changeset 12:46b1a85d810b
auto-Update generated slides by script
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 25 Jan 2018 22:18:40 +0900 |
parents | 805ada9caa5d |
children | 967fe50f1ef4 |
files | slide-cr.pl slide_cr.pl |
diffstat | 2 files changed, 30 insertions(+), 30 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slide-cr.pl Thu Jan 25 22:18:40 2018 +0900 @@ -0,0 +1,30 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use utf8; + +use lib "lib","lib/Slideshow/local/lib/perl5"; + +use Slideshow::Util; +use feature 'say'; + +my $flags = getopts(@ARGV); + +help() if $flags->{help}; + + +if ($flags->{new}){ + new(set_template('lib/template.md'),"slides"); +} elsif ($flags->{build}) { + build_recently("slides"); +} else { + build_pinpoint($flags->{build_point}); +} + + +sub help { + say 'slider [%options]'; +} + + +__END__ \ No newline at end of file
--- a/slide_cr.pl Thu Jan 25 18:49:07 2018 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -#!/usr/bin/env perl -use strict; -use warnings; -use utf8; - -use lib "lib","lib/Slideshow/local/lib/perl5"; - -use Slideshow::Util; -use feature 'say'; - -my $flags = getopts(@ARGV); - -help() if $flags->{help}; - - -if ($flags->{new}){ - new(set_template('lib/template.md'),"slides"); -} elsif ($flags->{build}) { - build_recently("slides"); -} else { - build_pinpoint($flags->{build_point}); -} - - -sub help { - say 'slider [%options]'; -} - - -__END__ \ No newline at end of file