Skip to content

Commit

Permalink
CPAN Release 0.0.2
Browse files Browse the repository at this point in the history
- Use generated Acme::Math::XS::Inline
  • Loading branch information
ingydotnet committed Oct 24, 2014
1 parent f05a5b8 commit 1ee8ff6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Changes
@@ -1,4 +1,9 @@
---
version: 0.0.2
date: Fri Oct 24 05:10:57 UTC 2014
changes:
- Use generated Acme::Math::XS::Inline
---
version: 0.0.1
date: Fri Oct 24 01:55:59 UTC 2014
changes:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -203,7 +203,7 @@ uninstall: distdir
make clean

clean purge:
rm -fr cpan .build $(DIST) $(DISTDIR)
rm -fr blib cpan .build $(DIST) $(DISTDIR)

#------------------------------------------------------------------------------
# Non-pulic-facing targets:
Expand Down
2 changes: 1 addition & 1 deletion Meta
@@ -1,7 +1,7 @@
=meta: 0.0.2

name: Acme-Math-XS
version: 0.0.1
version: 0.0.2
abstract: Math is HARD (faster)
homepage: https://metacpan.org/release/Acme-Math-XS
language: perl
Expand Down
3 changes: 1 addition & 2 deletions lib/Acme/Math/XS.pm
@@ -1,14 +1,13 @@
use strict; use warnings;
package Acme::Math::XS;
our $VERSION = '0.0.1';
our $VERSION = '0.0.2';

use Exporter 'import';
our @EXPORT = qw(
add
subtract
);

# use Inline C => <<'...';
use Acme::Math::XS::Inline C => <<'...';
long add(long a, long b) {
return a + b;
Expand Down
9 changes: 8 additions & 1 deletion lib/Acme/Math/XS/Inline.pm
@@ -1,6 +1,13 @@
use strict;
use warnings;
package Acme::Math::XS::Inline;

require Inline;
# TODO: Make sure this is latest version (self-check).
our $INLINE_VERSION = '0.0.2';

use File::Path;
BEGIN { File::Path::mkpath('./blib') unless -d './blib' }
use Inline Config => directory => './blib';

sub import {
splice(@_, 0, 1, 'Inline');
Expand Down

0 comments on commit 1ee8ff6

Please sign in to comment.