Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make it Panda-installable

  • Loading branch information...
commit 0f4dcf15eba1a28d1346dee90abc3986504ff070 1 parent c6bc494
@tadzik tadzik authored
Showing with 25 additions and 0 deletions.
  1. +18 −0 Build.pm
  2. +7 −0 META.info
View
18 Build.pm
@@ -0,0 +1,18 @@
+use Panda::Common;
+use Panda::Builder;
+
+my $nqp = 'nqp';
+my $parrot = 'parrot';
+my $pbc_to_exe = 'pbc_to_exe';
+my $executable = $*OS eq 'MSWin32' ?? 'perl6-debug.exe' !! 'perl6-debug';
+
+class Build is Panda::Builder {
+ method build(Pies::Project $p) {
+ my $workdir = $.resources.workdir($p);
+
+ shell "$nqp --vmlibs=perl6_group,perl6_ops --target=pir "
+ ~ "--output=perl6-debug.pir bin/perl6-debug.nqp";
+ shell "$parrot -o perl6-debug.pbc perl6-debug.pir";
+ shell "$pbc_to_exe --output=bin/$executable perl6-debug.pbc"
+ }
+}
View
7 META.info
@@ -0,0 +1,7 @@
+{
+ "name" : "Rakudo::Debugger",
+ "version" : "*",
+ "description" : "guess",
+ "depends" : [ "Term::ANSIColor" ],
+ "source-url" : "git://github.com/jnthn/rakudo-debugger.git"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.