forked from c9s/Vimana
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
49 lines (42 loc) · 1.2 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
use warnings;
use strict;
use inc::Module::Install;
name 'Vimana';
author 'You-An Lin <[email protected]>';
abstract 'Vim script port manager';
license 'perl';
version_from 'lib/Vimana.pm';
install_script 'bin/vimana';
install_script 'bin/vim_record';
requires
'App::CLI' => 0.08,
'Archive::Extract' => 0,
'DateTime' => 0,
'Exporter::Lite' => 0,
'File::Path' => 2.07,
'File::Spec' => 0,
'File::Type' => 0,
'File::Temp' => 0,
'Getopt::Long' => 0,
'LWP::Simple' => 0,
'LWP::UserAgent' => 0,
'URI' => 1.37,
'YAML' => 0,
'Digest::MD5' => 0,
'JSON::PP' => 0,
'HTTP::Lite' => 0,
'Mouse' => 0;
test_requires
'Test::More' => 0.92;
include('ExtUtils::AutoInstall');
auto_install();
auto_provides();
my $ret = qx( vim --version );
die "Can not found Vim , Please install Vim on your system" unless $ret =~ /^VIM - Vi IMproved/ ;
print "Vim found:\n" . '-' x 10 . "\n";
my @lines = split("\n", $ret );
print join( "\n" , splice( @lines , 0 , 3 ) ) , "\n";
print '-' x 10 . "\n";
repository 'http://github.com/c9s/Vimana';
WriteAll( sign => 0 );
1;