Changeset: 69e75b6e5743 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=69e75b6e5743 Modified Files: tools/embedded/build-rpkg.sh Branch: embedded Log Message:
better build script diffs (43 lines): diff --git a/tools/embedded/build-rpkg.sh b/tools/embedded/build-rpkg.sh --- a/tools/embedded/build-rpkg.sh +++ b/tools/embedded/build-rpkg.sh @@ -3,6 +3,8 @@ STAGEDIR=/tmp/monetdb-embedded-stage RPKG=MonetDBLite_0.1.0.tar.gz +OSXPKG=MonetDBLite_0.1.0.tgz +WINPKG=MonetDBLite_0.1.0.zip rm -rf $STAGEDIR @@ -43,10 +45,26 @@ touch rpackage/src/monetdb5/extras/rapi/ R CMD build rpackage -echo scp $STAGEDIR/$RPKG [email protected]:/var/www/html/Assets/R/ +read -p "Install and test? [y]" -r +echo # (optional) move to a new line +if [[ ! $REPLY =~ ^[Yy]$ ]] +then + exit 1 +fi -echo -echo 'install.packages("MonetDBLite", repos="http://dev.monetdb.org/Assets/R/", type="source")' -echo +R CMD INSTALL --build $STAGEDIR/$RPKG && \ +R CMD INSTALL $STAGEDIR/$OSXPKG && \ +R -f $STAGEDIR/sourcetree/tools/embedded/Tests/lowlevel.R && \ +R -f $STAGEDIR/sourcetree/tools/embedded/Tests/dbi.R + +read -p "Upload? [y]" -r +echo # (optional) move to a new line +if [[ ! $REPLY =~ ^[Yy]$ ]] +then + exit 1 +fi + +scp $STAGEDIR/$RPKG [email protected]:/var/www/html/Assets/R/ +scp $STAGEDIR/$OSXPKG [email protected]:/var/www/html/Assets/R/ # OSX 10.10/10.11 needs pkg-config! _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
