Makefile | 1 +
githooks/makerpm | 22 ----------------------
githooks/maketests | 24 ++++++++++++++++++++++++
3 files changed, 25 insertions(+), 22 deletions(-)
New commits:
commit bdc64fe879451c0725e868267c8c4f003768b8f7
Author: adam stokes <astokes(a)fedoraproject.org>
Date: Fri Apr 16 17:25:43 2010 -0400
yawn
diff --git a/Makefile b/Makefile
index 8779250..8e41c4a 100644
--- a/Makefile
+++ b/Makefile
@@ -64,3 +64,4 @@ clean:
rm $$i; \
done; \
for d in $(SUBDIRS); do make -C $$d clean ; done
+
diff --git a/githooks/maketests b/githooks/maketests
index 833cbcc..5ded6f0 100755
--- a/githooks/maketests
+++ b/githooks/maketests
@@ -12,8 +12,10 @@ attempts to build rpm before a git commit
use strict;
use warnings;
+use feature qw ( say );
# Run make rpm
+say "Running build";
my $exitcode = system("make build");
if ($exitcode > 0) {
exit 128;
commit c195d6e4e4983dd23b62c4188095b8b3a9e20953
Author: adam stokes <astokes(a)fedoraproject.org>
Date: Fri Apr 16 17:19:01 2010 -0400
update to run some tests
diff --git a/githooks/makerpm b/githooks/makerpm
deleted file mode 100755
index 0b1aa2a..0000000
--- a/githooks/makerpm
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/perl
-
-=head1 NAME
-
-makerpm
-
-=head1 DESCRIPTION
-
-attempts to build rpm before a git commit
-
-=cut
-
-use strict;
-use warnings;
-
-# Run make rpm
-my $exitcode = system("make rpm");
-if ($exitcode > 0) {
- exit 128;
-} else {
- exit 0;
-}
diff --git a/githooks/maketests b/githooks/maketests
new file mode 100755
index 0000000..833cbcc
--- /dev/null
+++ b/githooks/maketests
@@ -0,0 +1,22 @@
+#!/usr/bin/perl
+
+=head1 NAME
+
+makerpm
+
+=head1 DESCRIPTION
+
+attempts to build rpm before a git commit
+
+=cut
+
+use strict;
+use warnings;
+
+# Run make rpm
+my $exitcode = system("make build");
+if ($exitcode > 0) {
+ exit 128;
+} else {
+ exit 0;
+}
Show replies by date