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

Makefile.PL for the Slovo project

SYNOPSIS

Some commands;

Install

    $ INSTALL_BASE=~/opt/slovo && rm -rf $INSTALL_BASE && make distclean; \
    perl Makefile.PL INSTALL_BASE=$INSTALL_BASE && make && make test && make install \
    && $INSTALL_BASE/bin/slovo

Start the development server and open a browser

    $ morbo ./script/slovo -l http://*:3000 & sleep 1 exo-open http://localhost:3000

Start the production server

    $ hypnotoad script/slovo
    # you will see something like the following:
    [2019-02-24 19:38:08.69754] [13570] [info] Listening at "http://127.0.0.1:9090"
    Server available at http://127.0.0.1:9090
    [2019-02-24 19:38:08.69804] [13570] [info] Listening at "http://[::1]:9090"
    Server available at http://[::1]:9090

Build Makefile even directly in vim

    !perl Makefile.PL

When you want to add new files to the ditribution

    make manifest

Beautify your code

    make perltidy

Re-generate README and README.POD

    make readme