The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mac::PopClip::Quick::Role::CoreAttributes - core attributes for generation

SYNOPSIS

    package Mac::PopClip::Quick::Generator;
    use Moo;
    with 'Mac::PopClip::Quick::Role::CoreAttributes';
    ...

DESCRIPTION

Core attributes for PopClip generation

ATTRIBUTES

extension_name

The name of the extension. Required.

title

The title.

By default, the same as the extension_name.

filename

The path to the the tarball that this module will create. Should end with .popclipextz (though we don't force you to.)

By default a random filename in the temp directory is used if no value is provided.

extension_identifier

A unique identifier for your extension. This enables PopClip to identify if an extension it's installing should install as a new extension or replace an older version of the same extension.

By default this will generate something unique for you by using the unique ID of your Mac and the extension name. This is not suitable for distribution (if you change hardware you won't be able to use it anymore) and you should set a value for this attribute before distributing your extension.

required_software_version

The required version of PopClip. By default this is 701.

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Mark Fowler.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

SEE ALSO

Mac::PopClip::Quick is the main public interface to this module.

This role is consumed by Mac::PopClip::Quick::Generator.