aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--build/download-stuff.pl83
-rw-r--r--skel/build/Makefile.in1
3 files changed, 4 insertions, 83 deletions
diff --git a/Makefile b/Makefile
index 1b74f91..6cfb74b 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,8 @@ RAKUDO_DIR = $(DISTDIR)/rakudo
BUILD_DIR = $(DISTDIR)/build
MODULES_DIR = $(DISTDIR)/modules
+## If you add a module here, don't forget to update MODULES
+## in skel/build/Makefile.in to actually install it
MODULES = \
git://github.com/masak/ufo \
git://github.com/masak/proto \
@@ -28,6 +30,7 @@ MODULES = \
git://github.com/tadzik/perl6-Term-ANSIColor \
git://github.com/arnsholt/Algorithm-Viterbi \
git://gitorious.org/http-daemon/mainline \
+ git://github.com/jnthn/test-mock \
DISTTARGETS = \
diff --git a/build/download-stuff.pl b/build/download-stuff.pl
deleted file mode 100644
index 1da82c6..0000000
--- a/build/download-stuff.pl
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/usr/bin/perl
-use strict;
-use warnings;
-use 5.010;
-use File::Copy;
-use autodie qw(mkdir chdir open close copy);
-
-my @bootrap = qw(
- http://github.com/rakudo/rakudo
- http://github.com/masak/proto
- http://github.com/masak/ufo
-);
-my @modules = qw(
- http://github.com/jnthn/zavolaj
- http://github.com/jnthn/blizkost
- http://github.com/mberends/MiniDBI
- http://github.com/masak/xml-writer
- http://github.com/moritz/svg
- http://github.com/moritz/svg-plot
- http://github.com/moritz/Math-RungeKutta
- http://github.com/moritz/Math-Model
- http://github.com/mathw/form
- http://github.com/tadzik/perl6-Config-INI
- http://github.com/tadzik/perl6-File-Find
- http://github.com/tadzik/perl6-Term-ANSIColor
- http://github.com/arnsholt/Algorithm-Viterbi
- http://gitorious.org/http-daemon/mainline
- http://github.com/jnthn/test-mock
-);
-
-mkdir 'dist' unless -e 'dist';
-
-chdir 'dist' or die "Can't chdir to build dir: $!";
-
-sub fetch_project {
- my $git_url = shift;
- $git_url =~ s/^http/git/;
- $git_url .= '.git';
- my $return = system 'git', 'clone', $git_url;
- if ($return) {
- if ($? == -1) {
- warn "Error while running 'git clone $git_url': $?\n";
- } else {
- warn "Git returned unsuccessfully with return code "
- . ($? >> 8) . "\n";
- }
- next;
- }
-
-}
-
-for my $m (@bootrap) {
- fetch_project($m);
-}
-mkdir 'proto/cache';
-chdir 'proto/cache';
-for my $m (@modules) {
- fetch_project($m);
-}
-chdir '../..';
-
-# for projects of which we want to ship specific tags or branches
-# the right-hand side can be anything that 'git checkout' accepts,
-# so a branch name, tag name, sha1 sum, HEAD~3 ( not quite sane,
-# but possible )
-#
-my %tags = (
- rakudo => 'master', # XXX replace by tag of Rakudo point release
- proto => 'pls_rstar_hacks',
-);
-
-while (my ($project, $version) = each %tags) {
- chdir $project;
- system('git', 'checkout', $version) == 0
- or die "Can't git checkout $version: $?";
- chdir '..';
-}
-
-chdir('..');
-
-copy('build/buildall.pl', 'dist/');
-# TODO: copy docs, build scripts, whatever
-#
diff --git a/skel/build/Makefile.in b/skel/build/Makefile.in
index f3666ae..679f99c 100644
--- a/skel/build/Makefile.in
+++ b/skel/build/Makefile.in
@@ -65,6 +65,7 @@ MODULES = \
modules/perl6-File-Find \
modules/perl6-Term-ANSIColor \
modules/Algorithm-Viterbi \
+ modules/test-mock \
all: rakudo