Commit d1462974abe6a7dae3095164623d2d227a2a2a37

Authored by Antonio Terceiro
1 parent 2856e986

Also install dependencies needed to run the tests

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
debian/bootstrap
1 1 #!/bin/sh
2 2  
3   -dependencies=$(sed -e '/^Depends:.*rails/!d; s/Depends: //; s/([^)]*)//g; s/,\s*/\n/g' debian/control | grep -v 'memcached\|debconf\|mongrel-cluster\|dbconfig-common\|postgresql\|misc:Depends\|adduser')
4   -apt-get install $dependencies
  3 +runtime_dependencies=$(sed -e '/^Depends:.*rails/!d; s/Depends: //; s/([^)]*)//g; s/,\s*/\n/g' debian/control | grep -v 'memcached\|debconf\|mongrel-cluster\|dbconfig-common\|postgresql\|misc:Depends\|adduser')
  4 +test_dependencies="libtidy-ruby libhpricot-ruby libmocha-ruby imagemagick po4a xvfb"
  5 +apt-get -y install $runtime_dependencies $test_dependencies
... ...