Permalink
Browse files

Add smoke target to setup.nqp, tadzik++

This doesn't seem to be working yet, but looks to be a problem with Smolder.
  • Loading branch information...
leto committed Jan 13, 2011
1 parent 2076796 commit 00819951d3a67b16d85e58fa4b346faff01cec05
Showing with 11 additions and 0 deletions.
  1. +11 −0 setup.nqp
View
@@ -79,6 +79,12 @@ sub MAIN() {
~ get_libdir() ~ '/library/nqp-rx.pbc',
test_files => 't/*.t',
+ # smoke
+ smolder_url => 'http://smolder.parrot.org/app/projects/process_add_report/9',
+ smolder_comments => 'tree-optimization',
+ smolder_tags => get_tags(),
+ prove_archive => 'report.tar.gz',
+
# install
inst_lib => <
build/PAST/Optimizer.pbc
@@ -123,5 +129,10 @@ sub MAIN() {
sub hash (*%h ) { %h }
sub unflatten(*@kv) { my %h; for @kv -> $k, $v { %h{$k} := $v }; %h }
+sub get_tags() {
+ my $r := get_config();
+ $r<osname> ~ ', ' ~ $r<archname> ~ ', tree-optimizations'
+}
+
# Start it up!
MAIN();

0 comments on commit 0081995

Please sign in to comment.