Skip to content

Commit

Permalink
Add skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Jan 27, 2011
1 parent 4fea22c commit 122f348
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,10 @@
all: lib/YAML/Tiny.pbc

lib/YAML/Tiny.pbc: lib/YAML/Tiny.pir
parrot -o $@ $^

lib/YAML/Tiny.pir: lib/YAML/Tiny.pm
parrot-nqp --target=pir -o $@ $^

test: lib/YAML/Tiny.pbc
prove -e parrot-nqp -r -v t/*.t
6 changes: 6 additions & 0 deletions lib/YAML/Tiny.pm
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@
#!nqp
class YAML::Tiny;



# vim: ft=perl6
6 changes: 6 additions & 0 deletions t/01-compile.t
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env parrot-nqp

plan(1);

pir::load_bytecode("lib/YAML/Tiny.pbc");
ok(1, "Loaded module");

0 comments on commit 122f348

Please sign in to comment.