forked from dod38fr/config-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.build-from-git
54 lines (40 loc) · 1.56 KB
/
README.build-from-git
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
50
51
52
53
Config::Model from git is built with Dist::Zilla.
You must make sure that the following modules are installed:
Dist::Zilla::Plugin::MetaResources
Dist::Zilla::Plugin::ModuleBuild::Custom
Dist::Zilla::Plugin::Test::PodSpelling
Dist::Zilla::Plugin::PodVersion
Dist::Zilla::Plugin::Prepender
Dist::Zilla::Plugin::Prereqs
Dist::Zilla::Plugin::Run::BeforeBuild
Dist::Zilla::PluginBundle::Filter
Dist::Zilla::Plugin::Git::NextVersion
On debian or ubuntu, do:
sudo aptitude install \
libdist-zilla-plugin-prepender-perl \
libdist-zilla-plugin-run-perl \
libdist-zilla-plugins-cjm-perl \
libdist-zilla-perl \
libdist-zilla-plugin-podspellingtests-perl \
libdist-zilla-plugin-git-perl
On other systems, run:
$ sudo perl -MCPAN -e shell
> install App::cpanminus
> quit
$ sudo cpamn install Dist::Zilla::Plugin::MetaResources
$ sudo cpamn install Dist::Zilla::Plugin::ModuleBuild::Custom
$ sudo cpamn install Dist::Zilla::Plugin::Test::PodSpelling
$ sudo cpamn install Dist::Zilla::Plugin::PodVersion
$ sudo cpamn install Dist::Zilla::Plugin::Prepender
$ sudo cpamn install Dist::Zilla::Plugin::Prereqs
$ sudo cpamn install Dist::Zilla::Plugin::Run::BeforeBuild
$ sudo cpamn install Dist::Zilla::PluginBundle::Filter
$ sudo cpamn install Dist::Zilla::Plugin::Git::NextVersion
Then run:
dzil build
or
dzil test
If dzil returns an error like "Cannot determine local time zone", you should
specify explicitely your timezone in TZ environement variable. E.g.
TZ="Europe/Paris" dzil test
The list of timezones is provided by DateTime::TimeZone::Catalog documentation.