view release on metacpan or search on metacpan
examples/java-tutorial/BUILD view on Meta::CPAN
load("@rules_java//java:defs.bzl", "java_binary")
java_binary(
name = "ProjectRunner",
srcs = glob(["src/main/java/com/example/*.java"]),
)
view all matches for this distribution
view release on metacpan or search on metacpan
.travis.yml view on Meta::CPAN
- '5.14'
matrix:
allow_failures:
- perl: blead
env:
global:
- RELEASE_TESTING=1
- AUTHOR_TESTING=1
before_install:
- if [ "$TRAVIS_BRANCH" == "build" ]; then rm -f dist.ini; fi
- eval $(curl https://travis-perl.github.io/init) --auto
view all matches for this distribution
view release on metacpan or search on metacpan
t/alien_build_plugin_cleanse_builddir.t view on Meta::CPAN
ok (-e $build_dir, 'build dir exists');
my $alien = alien_build_ok();
ok (!-e $build_dir, 'build dir no longer exists')
or print join ', ', glob ("$build_dir/*");
done_testing();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Build/Plugin/Fetch/Cache.pm view on Meta::CPAN
use Alien::Build::Plugin;
use URI 1.71;
use Path::Tiny 0.100 ();
use Sereal 3.015 qw( encode_sereal decode_sereal );
use Digest::MD5;
use File::Glob qw( bsd_glob );
# ABSTRACT: Alien::Build plugin to cache files downloaded from the internet
our $VERSION = '0.05'; # VERSION
sub _local_file
{
my($uri) = @_;
Path::Tiny
->new(bsd_glob '~/.alienbuild/plugin_fetch_cache')
->child($uri->scheme)
->child($uri->host)
->child($uri->path)
->child('meta');
}
lib/Alien/Build/Plugin/Fetch/Cache.pm view on Meta::CPAN
open my $fh, '<', $res->{path};
$md5->addfile($fh);
close $fh;
}
my $data = Path::Tiny->new(bsd_glob '~/.alienbuild/plugin_fetch_cache/payload')
->child($md5->hexdigest)
->child($res->{filename});
$data->parent->mkpath;
my $res2 = {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Build/Plugin/Probe/OverrideCI.pm view on Meta::CPAN
install:
- cpanm -n Alien::Build::Plugin::Probe::OverrideCI
- cpanm -n --installdeps .
env:
global:
- ALIEN_BUILD_PRELOAD=Probe::OverrideCI
matrix:
- ALIEN_INSTALL_TYPE_CI=share
- ALIEN_INSTALL_TYPE_CI=system
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Base/Wrapper.pm view on Meta::CPAN
=head2 new
my $abw = Alien::Base::Wrapper->new(@aliens);
Instead of passing the aliens you want to use into this modules import you can create
a non-global instance of C<Alien::Base::Wrapper> using the OO interface.
=head1 FUNCTIONS
=head2 cc
view all matches for this distribution
view release on metacpan or search on metacpan
} @{ $ret->{list} };
$build->log(".msi list (filter) " . join(" ", map $_->{filename}, @filtered_list));
# Need to skip:
#
# Reason: modify global environment
# - appendpath.msi
# - path.msi
#
# Reason: extra disk space
# - launcher.msi
view all matches for this distribution
view release on metacpan or search on metacpan
cp/codepress/languages/perl.js view on Meta::CPAN
Language.syntax = [
{ input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
{ input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
{ input : /([\$\@\%][\w\.]*)/g, output : '<a>$1</a>' }, // vars
{ input : /(sub\s+)([\w\.]*)/g, output : '$1<em>$2</em>' }, // functions
{ input : /\b(abs|accept|alarm|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|continue|cos|crypt|dbmclose|dbmopen|defined|delete|die|do|dump|each|else|elsif|endgrent|endhostent|endnetent|endprotoent|e...
{ input : /([\(\){}])/g, output : '<u>$1</u>' }, // special chars
{ input : /#(.*?)(<br>|<\/P>)/g, output : '<i>#$1</i>$2' } // comments
]
Language.snippets = []
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
@exts = $self->{admin}->load_all_extensions;
}
my %seen;
foreach my $obj ( @exts ) {
while (my ($method, $glob) = each %{ref($obj) . '::'}) {
next unless $obj->can($method);
next if $method =~ /^_/;
next if $method eq uc($method);
$seen{$method}++;
}
view all matches for this distribution
view release on metacpan or search on metacpan
# for either Class or method.
private: []
unused_vars:
skip: 0
global:
ignore_vars: []
module: {}
version:
dir: lib
view all matches for this distribution
view release on metacpan or search on metacpan
# for either Class or method.
private: []
unused_vars:
skip: 0
global:
ignore_vars: []
module: {}
version:
dir: lib
view all matches for this distribution
view release on metacpan or search on metacpan
src/Source/FreeImage/MNGHelper.cpp view on Meta::CPAN
case TERM:
break;
case BACK:
break;
// Global "PLTE" and "tRNS" (if any). PNG "PLTE" will be of 0 byte, as it uses global data.
case PLTE: // Global
m_HasGlobalPalette = TRUE;
PLTE_file_size = mLength + 12; // (lentgh, name, array, crc) = (4, 4, mLength, 4)
PLTE_file_chunk = (BYTE*)realloc(PLTE_file_chunk, PLTE_file_size);
if(!PLTE_file_chunk) {
src/Source/FreeImage/MNGHelper.cpp view on Meta::CPAN
// Put back to original pos
io->seek_proc(handle, mOrigPos, SEEK_SET);
// write the PNG chunks
FreeImage_WriteMemory(mChunk, 1, m_TotalBytesOfChunks, hPngMemory);
// plug in global PLTE if local PLTE exists
if(m_HasGlobalPalette) {
// ensure we remove some local chunks, so that global
// "PLTE" can be inserted right before "IDAT".
mng_RemoveChunk(hPngMemory, mng_PLTE);
mng_RemoveChunk(hPngMemory, mng_tRNS);
mng_RemoveChunk(hPngMemory, mng_bKGD);
// insert global "PLTE" chunk in its entirety before "IDAT"
mng_InsertChunk(hPngMemory, mng_IDAT, PLTE_file_chunk, PLTE_file_size);
}
if(dib) FreeImage_Unload(dib);
dib = mng_LoadFromMemoryHandle(hPngMemory, flags);
view all matches for this distribution
view release on metacpan or search on metacpan
# Compile/Install:
say "Configuring...";
my $base_dir = $builder->base_dir;
my $share_dir = catdir( $base_dir, "share" );
my $gmp_dir = catdir( $base_dir, glob "gmp-*" );
chdir $gmp_dir;
run( command => [
"./configure", "--prefix=$share_dir", "--enable-shared"] )
or die "Failed to configure GMP";
run( command => [qw(make install)] ) or die "Failed to install GMP";
# Gather include and lib directories:
chdir $base_dir;
remove_tree($gmp_dir);
my @extra_files = ( glob( catfile qw(share include *) ),
glob( catfile qw(share lib *) ),
glob( catfile qw(share share info *) ) );
my $dest_sharedir = catdir( $builder->install_destination("lib"),
"auto", "share", "dist", "Alien-GMP" );
( inc_dir => catdir($dest_sharedir, "include"),
lib_dir => catdir($dest_sharedir, "lib"),
extra_files => \@extra_files ) } };
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Gnuplot.pm view on Meta::CPAN
called automatically at load time. Alien::Gnuplot doesn't have any
actual plotting methods - making use of gnuplot, once it is found and
verified, is up to you or your client module.
Using Alien::Gnuplot checks for existence of the executable, verifies
that it runs properly, and sets several global variables to describe
the properties of the gnuplot it found:
=over 3
=item * C<$Alien::Gnuplot::executable>
lib/Alien/Gnuplot.pm view on Meta::CPAN
pointed to by GNUPLOT_BINARY, then the module throws an exception.
You can also verify that it has not completed successfully, by
examining $Alien::Gnuplot::version, which is undefined in case of
failure and contains the gnuplot version string on success.
If you think the global state of the gnuplot executable may have
changed, you can either reload the module or explicitly call
C<Alien::Gnuplot::load_gnuplot()> to force a fresh inspection of
the executable.
=head1 INSTALLATION STRATEGY
lib/Alien/Gnuplot.pm view on Meta::CPAN
$pl = $3;
$executable = $exec_path;
##############################
# Parse out available terminals and put them into the
# global list and hash.
@terms = ();
%terms = ();
my $reading_terms = 0;
for my $line(@lines) {
last if($line =~ m/CcColors/);
lib/Alien/Gnuplot.pm view on Meta::CPAN
$terms{$1} = $2;
}
}
##############################
# Parse out available colors and put them into that global list and hash.
@colors = ();
%colors = ();
for my $line(@lines) {
last if($line =~ m/FfFinished/);
view all matches for this distribution
view release on metacpan or search on metacpan
GvaScript_Builder.pm view on Meta::CPAN
my ($self) = @_;
require Pod::POM;
require Pod::POM::View::HTML;
my @podfiles = glob ("lib/Alien/GvaScript/*.pod");
my $parser = new Pod::POM;
foreach my $podfile (@podfiles) {
my $pom = $parser->parse($podfile) or die $parser->error;
$podfile =~ m[^lib/Alien/GvaScript/(.*)\.pod];
GvaScript_Builder.pm view on Meta::CPAN
# destination for wiki files
my $dir = "blib/wiki";
-d $dir or mkdir $dir or die "mkdir $dir: $!";
# list of source files
my @podfiles = glob ("lib/Alien/GvaScript/*.pod");
# convert each file
foreach my $podfile (@podfiles) {
my $parser = Pod::Simple::Wiki->new('googlecode');
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
use lib "inc";
use File::Spec::Functions qw(catfile rel2abs);
use ExtUtils::Command;
use LWP::Simple qw(getstore head);
use File::Find;
use File::Glob qw(bsd_glob);
use File::Path qw();
use File::ShareDir;
use File::Temp qw(tempdir tempfile);
use Digest::SHA qw(sha1_hex);
use Archive::Extract;
inc/My/Builder.pm view on Meta::CPAN
}
}
### XXX hack for handling github tarballs
unless (-d "$build_src/cd" && -d "$build_src/im" && -d "$build_src/iup") {
for my $f (bsd_glob("$build_src/*")) {
if ($f =~ m!^\Q$build_src\E/.*?(im|cd|iup).*$!) {
print "renaming: $f $build_src/$1\n";
rename ($f, "$build_src/$1");
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/InteractiveBrokers.pm view on Meta::CPAN
my $self = {};
# Instantiate the object. sort of.
bless( $self, $class );
# Direct the global cache to us (see note above)
$CACHE = $self;
return( $self );
}
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Judy/Builder.pm view on Meta::CPAN
# into depended-on- blib/* directories.
my $alien = File::Spec->catdir( $Orig_CWD, 'blib', 'arch', 'Alien', 'Judy' );
File::Path::make_path( $alien );
my @files = (
'src/Judy.h',
glob('src/obj/.libs/*'),
);
for my $file ( @files ) {
File::Copy::copy( $file, $alien );
}
view all matches for this distribution
view release on metacpan or search on metacpan
use File::Spec;
use_ok('Alien::Leptonica');
# for dev testing, get the headers out of the build directory
my ($built_allheaders) = glob '_alien/leptonica-*/src/allheaders.h';
my $built_dir = defined $built_allheaders && File::Spec->rel2abs(dirname($built_allheaders));
my @inc_built = defined $built_allheaders && -f $built_allheaders ? (INC => "-I$built_dir") : ();
SKIP: {
eval { load 'Inline::C' } or do {
view all matches for this distribution
view release on metacpan or search on metacpan
libjit/ChangeLog view on Meta::CPAN
* jit/jit-cache.h: Fix comment for _jit_cache_get_end_method.
2010-10-24 Klaus Treichel <ktreichel@web.de>
* jit/jit-reg-alloc.c (_jit_regs_alloc_global): Set in_global_register
on global register assignment.
2010-10-04 Klaus Treichel <ktreichel@web.de>
* jit/jit-internal.h: Add missing typedef in the declaration of the
_jit_intrinsic_signature enumaeration. (Really Noah Lavine)
libjit/ChangeLog view on Meta::CPAN
Flag rules for branch opcodes with the branch option and add the
commutative option where appropriate.
2008-07-06 Juan Jesus Garcia de Soria <juanj.g_soria@grupobbva.com>
* jit/jit-reg-alloc.c (choose_input_order): take into account global
registers to see if it is suitable to exchange input values. This
fixes a problem that took place when a commutative op is applied to
a value that resides in a global register and is both the dest and
the second source value of the op.
2008-05-30 Aleksey Demakov <ademakov@gmail.com>
* include/jit/jit-common.h: remove unused jit_function_compiled_t
libjit/ChangeLog view on Meta::CPAN
* jit/jit-rules-alpha.ins, jit/jit-rules-x86.ins: update according
to the new rule syntax.
2006-12-20 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-thread.h, jit/jit-thread.c: add _jit_global_lock mutex.
* jit/jit-init.c (jit_init): make sure that initialization is done
only once.
2006-12-17 Klaus Treichel <ktreichel@web.de>
libjit/ChangeLog view on Meta::CPAN
* jit/jit-rules-x86.ins: if JIT_USE_SIGNALS is defined do not emit
explicit division by zero check (patch #5278).
2006-11-26 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-reg-alloc.c (choose_output_register): fix global register
use cost computation.
* jit/jit-rules-x86.ins: mark as commutative JIT_OP_IADD,
JIT_OP_IMUL, JIT_OP_LADD, JIT_OP_IAND, JIT_OP_IOR, JIT_OP_IXOR,
JIT_OP_LAND, JIT_OP_LOR, JIT_OP_XOR rules.
libjit/ChangeLog view on Meta::CPAN
* jit/jit-reg-alloc.c (use_cheapest_register): allow a register that
contains an input value to be used as a scratch register. The input
value in this case is copied to another register. This resolves the
problem with JIT_OP_IREM rule that failed to allocate a scratch reg
in a very specific case (all EBX, ESI, EDI regs are used as global,
dividend is initially in ECX and copied to EAX:EDX pair where x86
idiv expects it to be).
* jit/jit-reg-alloc.c (set_regdesc_flags): fix a bug.
libjit/ChangeLog view on Meta::CPAN
* tools/gen-rules-parser.y (gensel_output_clauses): make generated
code more readable by using _jit_regs_begin() and _jit_regs_end()
where appropriate.
* jit/jit-reg-alloc.c: allow to load the second part of a register
pair to a global register. This is because x86 long arithmetics
use 4 registers at once: EAX:EDX and ECX:EBX. At the same time
EBX is the global register candidate. If the instruction clobbers
the global register, the new allocator automatically pushes it on
the stack before and pops after the instruction.
* jit/jit-function.c (compile_block): modify trace messages.
2006-05-28 Klaus Treichel <ktreichel@web.de>
libjit/ChangeLog view on Meta::CPAN
moved to the start after this block will never be executed.
2006-05-27 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-reg-alloc.c (free_value, save_value): the value that has
a global register and is also associated with a local register
needs to be unbound from the local one.
* jit/jit-reg-alloc.c (compute_spill_cost): assume that the spill
cost for clean values is not zero. This keeps them in registers
as long as there are free registers and thus reduces the number of
libjit/ChangeLog view on Meta::CPAN
2006-05-25 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-reg-alloc.c (use_cheapest_register): fix cost calculation
again for 'spill_before' rules. The last patch did not work for
values stored in global registers. Now both global and non-global
values should be copied to EAX.
2006-05-25 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-reg-alloc.c (use_cheapest_register): fix cost calculation
libjit/ChangeLog view on Meta::CPAN
and clean up code.
2006-05-10 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-reg-alloc.c (use_cheapest_register): check if the other
part of a register pair clobbers global registers.
* jit/jit-reg-alloc.c (exch_stack_top): run value exchange loop
for all values in both registers.
* jit/jit-reg-alloc.h, jit/jit-reg-alloc.c: delete on_stack field
libjit/ChangeLog view on Meta::CPAN
* jit/jit-rules.h:
* jit/jit-rules-arm.c:
* jit/jit-rules-interp.c:
* jit/jit-rules-x86.c: add _jit_gen_exch_top and _jit_gen_spill_top
functions used by new allocator to handle stack registers. Add reg
argument to _jit_gen_spill_global and_jit_gen_load_global
functions.
2006-04-11 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-insn.c (jit_insn_start_catcher): initialize
libjit/ChangeLog view on Meta::CPAN
* jit/jit-reg-alloc.h:
* jit/jit-reg-alloc.c: Initial version of new local register
allocator.
* jit/jit-rules.h:
* jit/jit-rules-arm.c (_jit_gen_spill_global):
* jit/jit-rules-interp.c (_jit_gen_spill_global):
* jit/jit-rules-x86.c (_jit_gen_spill_global): add function for
spilling global registers. Used by the new allocator. Only x86
version is really implemented.
2006-02-13 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-internal.h (struct _jit_value): add index field.
libjit/ChangeLog view on Meta::CPAN
tutorial/t2.c, tutorial/t5.c: implement tail calls from a
function to itself.
* jit/jit-function.c, jit/jit-reg-alloc.c, jit/jit-rules-arm.c,
jit/jit-rules-interp.c, jit/jit-rules-x86.c, jit/jit-rules.h:
implement global register allocation for parameters in stack slots.
* jit/jit-rules-x86.c, jit/jit-rules-x86.sel, jit/jit-rules.h:
optimize the x86 function epilog when we are certain that the
stack height doesn't change between entry and exit (i.e. the
function is a leaf and there are no alloca's).
libjit/ChangeLog view on Meta::CPAN
on non-x86 platforms; use parameter areas in the ARM back end.
* include/jit/jit-plus.h, include/jit/jit-value.h, jit/jit-insn.c,
jit/jit-internal.h, jit/jit-reg-alloc.c, jit/jit-rules-x86.c,
jit/jit-value.c: don't over-allocate x86 stack frames if
EBX, ESI, and EDI don't need to be saved; don't perform global
register allocation on stacked parameters because it confuses
the register spill logic.
* jit/jit-reg-alloc.c (_jit_regs_load_value): avoid unnecessary
spills if a temporary value won't be used again in the current block.
libjit/ChangeLog view on Meta::CPAN
tools/gen-sel-scanner.l: introduce conditional rules into "gen-sel"
so that we can disable certain rules on ARM platforms that lack
floating-point support.
* jit/jit-rules-arm.c (_jit_gen_spill_reg): spill properly to
global registers for ARM.
* jit/jit-reg-alloc.c, jit/jit-rules-arm.c, jit/jit-rules-arm.sel,
jit/jit-rules-x86.sel: minor register assignment bugs.
* jit/jit-rules-arm.c: ARM parameters cannot be split between
libjit/ChangeLog view on Meta::CPAN
* jit/jit-function.c, jit/jit-insn.c, jit/jit-internal.h,
jit/jit-reg-alloc.c, jit/jit-reg-alloc.h, jit/jit-rules-arm.c,
jit/jit-rules-arm.h, jit/jit-rules-interp.c, jit/jit-rules-interp.h,
jit/jit-rules-x86.c, jit/jit-rules-x86.h, jit/jit-rules.h,
jit/jit-value.c, tools/gen-sel-parser.y: implement a simple global
register allocation policy, based on usage counts.
* jit/jit-reg-alloc.c (_jit_regs_load_value): if a value is in a
global register and it is not going to be destroyed by an instruction,
then use the global register as the operand.
* jit/jit-insn.c: recognise "t = a op b; a = t" and turn it
into "a = a op b" to make it easier for back ends to recognise
special idioms such as increments and decrements.
libjit/ChangeLog view on Meta::CPAN
* jit/jit-rules-interp.c, jit/jit-rules-interp.h: implement
the exception-handling opcodes for the interpreter.
* dpas/dpas-parser.y, dpas/dpas-scope.c, dpas/dpas-scope.h:
fix a bug that caused global variables in Dynamic Pascal
to be incorrectly allocated as locals.
* jit/jit-reg-alloc.c (_jit_regs_load_to_top_two): handle the
case where the second value is on the stack but not the first.
view all matches for this distribution
view release on metacpan or search on metacpan
/*free the document */
xmlFreeDoc(doc);
/*
*Free the global variables that may
*have been allocated by the parser.
*/
xmlCleanupParser();
return 0;
view all matches for this distribution
view release on metacpan or search on metacpan
# for either Class or method.
private: []
unused_vars:
skip: 0
global:
ignore_vars: []
module: {}
view all matches for this distribution
view release on metacpan or search on metacpan
private:
- #new
unused_vars:
skip: 0
global:
ignore_vars: []
module: {}
view all matches for this distribution
view release on metacpan or search on metacpan
use alienfile;
use Config;
use FFI::CheckLib qw( find_lib_or_die );
use File::Glob qw( bsd_glob );
use Env qw( @PKG_CONFIG_PATH );
my @lib;
if($^O eq 'darwin')
{
if(-d '/usr/local/Cellar/libarchive')
{
push @PKG_CONFIG_PATH, grep { -d $_ } bsd_glob '/usr/local/Cellar/libarchive/*/lib/pkgconfig';
push @lib, grep { -d $_ } bsd_glob '/usr/local/Cellar/libarchive/*/lib'
}
}
plugin 'PkgConfig' => (
pkg_name => 'libarchive',
view all matches for this distribution
view release on metacpan or search on metacpan
use alienfile;
use Path::Tiny qw( path );
use File::Glob qw( bsd_glob );
use Config;
my $compiler_type = meta_prop->{platform}->{compiler_type};
meta_prop->{my_makefile} = $compiler_type eq 'microsoft' ? 'makefile.msc' : 'Makefile';
my($build, $det) = @_;
if($det->{exit} == 0)
{
my @dlls = grep { ! -l $_ } bsd_glob 'libbz2*.so*';
my $dest = path($build->install_prop->{prefix})->child('dynamic');
$dest->mkpath;
path($_)->copy($dest->child($_))
for @dlls;
}
view all matches for this distribution
view release on metacpan or search on metacpan
libjio/libjio/compat.h view on Meta::CPAN
/* sync_file_range() is linux-specific, so we provide an internal similar API,
* with a constant to be able to check for its presence; the implementation is
* in compat.c.
*
* To get its constants we need to temporarily define _GNU_SOURCE, which is
* not the nicest thing, but is not worth defining globally. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#define _REMOVE_GNU_SOURCE
#endif
#include <fcntl.h> /* SYNC_FILE_RANGE_WRITE, if available */
view all matches for this distribution
view release on metacpan or search on metacpan
}
if( -d '/usr/local/Cellar/libressl' )
{
require File::Glob;
my($dir) = File::Glob::bsd_glob('/usr/local/Cellar/libressl/*/lib/pkgconfig');
push @PKG_CONFIG_LIBDIR, $dir;
}
if( -d '/usr/local/Cellar/openssl' )
{
require File::Glob;
my($dir) = File::Glob::bsd_glob('/usr/local/Cellar/openssl/*/lib/pkgconfig');
push @PKG_CONFIG_LIBDIR, $dir;
}
if( -l '/opt/local/bin/openssl' ) {
my $dir = Path::Tiny->new(readlink '/opt/local/bin/openssl');
view all matches for this distribution
view release on metacpan or search on metacpan
inc/luaconf.h view on Meta::CPAN
#endif
/*
@@ LUA_ENV is the name of the variable that holds the current
@@ environment, used to access global names.
** CHANGE it if you do not like this name.
*/
#define LUA_ENV "_ENV"
inc/luaconf.h view on Meta::CPAN
** to fit your specific needs.
*/
#if defined(LUA_COMPAT_ALL) /* { */
/*
@@ LUA_COMPAT_UNPACK controls the presence of global 'unpack'.
** You can replace it with 'table.unpack'.
*/
#define LUA_COMPAT_UNPACK
/*
view all matches for this distribution
view release on metacpan or search on metacpan
use alienfile;
use Path::Tiny qw( path );
use File::Glob qw( bsd_glob );
use File::Which qw( which );
use List::Util qw( all );
# no share install unless on windows
delete $ENV{ALIEN_INSTALL_TYPE}
}
$build->log("remove package cache, and man pages");
# remove var/cache/mingw-get/packages/*
unlink $_ for bsd_glob('var/cache/mingw-get/packages/*');
# remove msys/1.0/share/{doc,man}
eval { path('msys/1.0/share/doc')->remove_tree };
eval { path('msys/1.0/share/man')->remove_tree };
$build->log("moving to @{[ $build->install_prop->{stage} ]}");
view all matches for this distribution