Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (22 sloc) 0.363 kb
#!/bin/bash
rm -Rf generated
mkdir generated
google-generator --target generated
packages=0
failures=0
for api in generated/*; do
((packages++))
cd $api
cabal configure
if [ $? -ne 0 ]; then
((failures++))
else
cabal build
if [ $? -ne 0 ]; then
((failures++))
fi
fi
cd -
done
echo "$failures/$packages failed"
exit $failures
Jump to Line
Something went wrong with that request. Please try again.