[Pkg-haskell-commits] darcs: tools: Make all-packages.cabal read-only to prevent accidential edit
Joachim Breitner
mail at joachim-breitner.de
Wed May 29 08:09:13 UTC 2013
Tue May 28 09:18:25 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Make all-packages.cabal read-only to prevent accidential edit
Ignore-this: 43df1b2f705dba7cae6719253089a812
M ./all-packages/test-packages.pl +3
Tue May 28 09:18:25 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Make all-packages.cabal read-only to prevent accidential edit
Ignore-this: 43df1b2f705dba7cae6719253089a812
diff -rN -u old-tools//all-packages/test-packages.pl new-tools//all-packages/test-packages.pl
--- old-tools//all-packages/test-packages.pl 2013-05-29 08:09:12.851038939 +0000
+++ new-tools//all-packages/test-packages.pl 2013-05-29 08:09:12.931037634 +0000
@@ -53,8 +53,10 @@
}
print "Creating all-packages.cabal...\n";
+unlink "all-packages.cabal";
open CABAL, ">", "all-packages.cabal" or die $!;
print CABAL <<__END__;
+-- This is auto-generated by ./test-packages.pl from packages.txt, make sure to edit that file!
name: all-packages
description: Dummy package that depends on all packages in Debian, to check for co-buildability
version: 0
@@ -72,6 +74,7 @@
$comma = ", ";
}
close CABAL;
+chmod 0444, "all-packages.cabal";
print "Running cabal-install...\n";
system("cabal install --dry-run --force-reinstall") == 0 or die "cabal install failed: $?";
More information about the Pkg-haskell-commits
mailing list