### ----------------------------------------------------
### -- Collection-Plugin-Development
### -- Licenses: Artistic-2.0
### -- Authors: Richard Hainsworth, aka finanalyst
### -- File: lib/plugins/xhtml/ebook-embed/move-files.raku
### ----------------------------------------------------
#!/usr/bin/env raku
use v6.d;

sub ($pp, %options ) {
    my @move-to-dest;
    for < camelia-recoloured.png favicon.ico > -> $fn {
        # array of triplets. 'to','myself', 'from'
        @move-to-dest.push( (
            "assets/images/$fn",  # file name as it appears in css
            'myself', # look in own plugin directory
            "img/$fn", ) # filename as it appears in this directory
        );
    }
    @move-to-dest.push: ('META-INF/container.xml', 'myself', 'resources/container.xml');
    @move-to-dest.push: ('mimetype', 'myself', 'resources/mimetype');
    @move-to-dest
}


