Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (39 sloc) 1.01 KB
# Load the Module::Install bundled in ./inc/
use inc::Module::Install;
use Module::Install::GithubMeta;
use Module::Install::ManifestSkip;
use Module::Install::AutoManifest;
# Define metadata
name 'App-Nopaste';
all_from 'lib/App/Nopaste.pm';
githubmeta;
requires 'WWW::Mechanize';
requires 'Module::Pluggable';
requires 'Moose' => '0.74';
requires 'MooseX::Getopt' => '0.17';
requires 'Class::Load';
requires 'URI::Escape';
requires 'JSON';
features(
'pastebin.com support' => [
'WWW::Pastebin::PastebinCom::Create',
],
'copying of URLs with -x/--copy' => [
'Clipboard',
],
'Github authentication (having Git installed works too)' => [
'Config::GitLike' => '0.00',
],
'copy files to remote server with scp' => [
'File::Temp',
'File::Spec'
],
'open URLs in a browser' => [
'Browser::Open',
],
);
install_script 'bin/nopaste';
auto_install;
manifest_skip;
auto_manifest;
WriteAll;