commit 2db892f40d015cd5c03aec5ef5ebf7809a72e52c parent e30983d9b5d7ce045e3c4f4d54bc30506e3bb8d7 Author: René Wagner <rwagner@rw-net.de> Date: Wed, 15 Jul 2020 15:53:56 +0200 add build definition for builds.sr.ht Diffstat:
A | .build.yml | | | 23 | +++++++++++++++++++++++ |
M | README.md | | | 1 | + |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/.build.yml b/.build.yml @@ -0,0 +1,23 @@ +image: archlinux +packages: + - perl + - perl-par-packer + - perl-file-find-rule + - perl-file-homedir +sources: + - https://git.sr.ht/~rwa/photo-helpers +artifacts: + - photo-helpers/bin/art_file_mover + - photo-helpers/bin/jpegdivider + - photo-helpers/snapshot_linux_amd64.tgz +tasks: + - build: | + cd photo-helpers + perl -c art_file_mover.pl + perl -c jpegdivider.pl + mkdir bin + /usr/bin/vendor_perl/pp -z 9 -f Bleach -o bin/art_file_mover art_file_mover.pl + /usr/bin/vendor_perl/pp -z 9 -f Bleach -o bin/jpegdivider jpegdivider.pl + - package: | + cd photo-helpers/bin + tar -czf ../snapshot_linux_amd64.tgz * diff --git a/README.md b/README.md @@ -10,6 +10,7 @@ This rather small scripts written in [Perl](https://perl.org) provide useful fun The following perl modules are required for running the scripts. - Cwd +- File::HomeDir - File::Basename - File::Copy - File::Find::Rule