[Pkg-haskell-commits] darcs: haskell-yesod: Add autopkgtest to see if the scaffolding tool actually works
Joachim Breitner
mail at joachim-breitner.de
Sun May 19 20:19:28 UTC 2013
Sun May 19 20:08:03 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Add autopkgtest to see if the scaffolding tool actually works
Ignore-this: 66199a845ce7f4e2103e4b983067c224
M ./changelog +6
M ./control +1
A ./tests/
A ./tests/control
A ./tests/scaffold
Sun May 19 20:08:03 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Add autopkgtest to see if the scaffolding tool actually works
Ignore-this: 66199a845ce7f4e2103e4b983067c224
diff -rN -u old-haskell-yesod//changelog new-haskell-yesod//changelog
--- old-haskell-yesod//changelog 2013-05-19 20:19:28.487174425 +0000
+++ new-haskell-yesod//changelog 2013-05-19 20:19:28.623211460 +0000
@@ -1,3 +1,9 @@
+haskell-yesod (1.1.9.2-2) UNRELEASED; urgency=low
+
+ * Add autopkgtest to see if the scaffolding tool actually works
+
+ -- Joachim Breitner <nomeata at debian.org> Sun, 19 May 2013 22:05:57 +0200
+
haskell-yesod (1.1.9.2-1) experimental; urgency=low
* New upstream release
diff -rN -u old-haskell-yesod//control new-haskell-yesod//control
--- old-haskell-yesod//control 2013-05-19 20:19:28.475291360 +0000
+++ new-haskell-yesod//control 2013-05-19 20:19:28.623211460 +0000
@@ -172,6 +172,7 @@
Homepage: http://hackage.haskell.org/package/yesod
Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-yesod
Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-yesod
+XS-Testsuite: autopkgtest
Package: yesod
Architecture: any
diff -rN -u old-haskell-yesod//tests/control new-haskell-yesod//tests/control
--- old-haskell-yesod//tests/control 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-yesod//tests/control 2013-05-19 20:19:28.499101336 +0000
@@ -0,0 +1,5 @@
+Tests: scaffold
+# Generated with
+# grep , *cabal| cut -d, -f2|cut -d\ -f2|sort -u|perl -ne 'chomp; print "libghc-$_-dev, "'
+# and yesod added
+Depends: yesod, libghc-aeson-dev, libghc-bytestring-dev, libghc-clientsession-dev, libghc-conduit-dev, libghc-data-default-dev, libghc-directory-dev, libghc-fast-logger-dev, libghc-hamlet-dev, libghc-hjsmin-dev, libghc-http-conduit-dev, libghc-like-dev, libghc-monad-control-dev, libghc-monad-logger-dev, libghc-persistent-dev, libghc-persistent-sqlite-dev, libghc-persistent-template-dev, libghc-resourcet-dev, libghc-shakespeare-css-dev, libghc-shakespeare-js-dev, libghc-shakespeare-text-dev, libghc-template-haskell-dev, libghc-text-dev, libghc-wai-extra-dev, libghc-warp-dev, libghc-yaml-dev, libghc-yesod-dev, libghc-yesod-auth-dev, libghc-yesod-core-dev, libghc-yesod-default-dev, libghc-yesod-form-dev, libghc-yesod-platform-dev, libghc-yesod-static-dev, libghc-yesod-test-dev
diff -rN -u old-haskell-yesod//tests/scaffold new-haskell-yesod//tests/scaffold
--- old-haskell-yesod//tests/scaffold 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-yesod//tests/scaffold 2013-05-19 20:19:28.499101336 +0000
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -ex
+
+cd $ADTTMP
+
+echo -e 'some-project\ns\n' | yesod init
+cd some-project
+yesod test
More information about the Pkg-haskell-commits
mailing list