diff options
author | EuAndreh <eu@euandre.org> | 2019-05-21 07:58:12 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-21 08:09:47 -0300 |
commit | cc224b7da6db158a72c3479e131a6ad999797313 (patch) | |
tree | 1b70559a58fe442df932bd136071681528f67f06 /website | |
parent | Add Hakyll _cache/ folder to .gitignore (diff) | |
download | euandre.org-cc224b7da6db158a72c3479e131a6ad999797313.tar.gz euandre.org-cc224b7da6db158a72c3479e131a6ad999797313.tar.xz |
Add actual tests to website CLI
Diffstat (limited to 'website')
-rwxr-xr-x | website | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -47,10 +47,6 @@ sub getopts { ); } -sub test { - print colored("FIXME", "red"), "\n"; -} - sub escaped_cmd { my ($cmd, @args) = @_; my $dirname = dirname(__FILE__); @@ -81,7 +77,8 @@ sub dispatch { my @sub_args = grep { $_ ne $action } @args; escaped_cmd("slides/website-slides", @sub_args); } elsif ($action eq 'test') { - test(); + escaped_cmd("pastebin/website-pastebin", "--test"); + escaped_cmd("slides/website-slides", "--test"); } else { pod2usage( -verbose => 1, |