Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note/Hacking to explain how to set up for Test::Base #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 24 additions & 0 deletions note/Hacking
@@ -0,0 +1,24 @@
= HACKING

To be able to build Jemplate you must first set up Dist::Zilla.

% cpanm Dist::Zilla
% dzil authordeps --missing | cpanm
% dzil listdeps --missing | cpanm

At this point the following command should complete successfully:

% dzil build

= TESTING

The tests rely on Test::Base, as configured by the Dist::Zilla Plugin
TestBaseIncluder. To run the tests you must have the git repository of
Test::Base available in the parent directory!

% git clone git@github.com:ingydotnet/test-base-pm.git ../test-base-pm

At this point the following command should complete successfully:

% dzil test --release