Idris-dev/mkpkg.sh

18 lines
339 B
Bash
Raw Normal View History

2014-02-04 01:36:11 +04:00
#!/bin/sh
2014-02-04 20:07:00 +04:00
VERSION=$1
2014-02-04 01:36:11 +04:00
echo "Building version-$VERSION\n\n"
echo "Have you: set the release flag, checked the demos and the tutorial?"
read $foo
2014-02-04 20:07:00 +04:00
git tag v$VERSION -a
2014-02-04 01:36:11 +04:00
cabal sdist
cabal configure --prefix=/usr/local
cabal build
cabal copy --destdir=/tmp/idris-pkg/
pkgbuild --id org.idris-lang --root /tmp/idris-pkg/ idris-$VERSION.pkg