Alien::premake5 - Build or find premake5
use Alien::premake5; use Env qw( @PATH ); unshift @ENV, Alien::premake5->bin_dir; my $premake = Alien::premake5->exe; system $premake, 'gmake';
Premake is a build tool that allows a software project to be described with a single common build script, which can then be used to generate project files for building under a wide variety of build environments.
Alien::premake5 uses Alien::Build to make it easier to use premake in a Perl application or project.
This distribution will find an available version of premake5, or attempt to build one from source.
premake5
my $premake = Alien::premake5->exe;
Returns the name of the premake executable. Currently, this should be premake5.
When using the executable compiled by this distribution, you will need to make sure that the directories returned by bin_dir are added to your PATH environment variable. For more info, check the documentation of Alien::Build.
bin_dir
PATH
The %{premake5} string will be interpolated by Alien::Build into the name of the premake5 executable (as returned by exe);
%{premake5}
https://premake.github.io/
Contributions of any kind are most welcome!
The main repository for this distribution is on Github, which is where patches and bug reports are mainly tracked. Bug reports can also be sent through the CPAN RT system, or by mail directly to the developers at the addresses below, although these will not be as closely tracked.
Development uses Dist::Zilla, and is tracked in the master branch of the code repository. Code contributions can be made directly on that branch (which will likely require you to use Dist::Zilla), or on the build branch of the, which holds the built code and has no need for development tools.
master
build
José Joaquín Atria <jjatria@cpan.org>
Special thanks to Graham Ollis for his help in the preparation of this distribution.
This software is copyright (c) 2017 by José Joaquín Atria.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Alien::premake5, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::premake5
CPAN shell
perl -MCPAN -e shell install Alien::premake5
For more information on module installation, please visit the detailed CPAN module installation guide.