Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add skeleton

  • Loading branch information...
commit 122f34893e2f4ccfb23d7bc308a9b320ecfe9962 1 parent 4fea22c
@bacek bacek authored
Showing with 22 additions and 0 deletions.
  1. +10 −0 Makefile
  2. +6 −0 lib/YAML/Tiny.pm
  3. +6 −0 t/01-compile.t
View
10 Makefile
@@ -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
View
6 lib/YAML/Tiny.pm
@@ -0,0 +1,6 @@
+#!nqp
+class YAML::Tiny;
+
+
+
+# vim: ft=perl6
View
6 t/01-compile.t
@@ -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.
Something went wrong with that request. Please try again.