diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-21 01:21:48 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-21 01:21:48 +0100 |
commit | eb97641594b08b0d29dcaa486824a73fc4b823bf (patch) | |
tree | 6e1957a65dc1903afd721b09f3a8d7d857759e18 /bin/itzks-build-all-packages | |
parent | 254c45c7421caaf8987dc5af0c560f3cb24a0bec (diff) | |
download | buildscripts-eb97641594b08b0d29dcaa486824a73fc4b823bf.tar.gz buildscripts-eb97641594b08b0d29dcaa486824a73fc4b823bf.tar.bz2 buildscripts-eb97641594b08b0d29dcaa486824a73fc4b823bf.zip |
replaced buildscripts with those form NWT build site
Diffstat (limited to 'bin/itzks-build-all-packages')
-rwxr-xr-x | bin/itzks-build-all-packages | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/bin/itzks-build-all-packages b/bin/itzks-build-all-packages deleted file mode 100755 index ffd3ab8..0000000 --- a/bin/itzks-build-all-packages +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -# Copyright (C) 2011 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -# -# This is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the -# Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - -LIB_PACKAGES_NIGHTLY="\ -itzks-keyring nightly master -" -LIB_PACKAGES_MAIN="\ -itzks-keyring main build-main -" - -APP_PACKAGES_NIGHTLY="\ -scratch nightly master -" -APP_PACKAGES_MAIN="\ -scratch main build-main -" - -COMPONENT=${1:-""} - -# build the newest code... (nightly-builds) -[ "x$COMPONENT" = "xnightly" ] || [ -z $COMPONENT ] && { - echo -e $LIB_PACKAGES_NIGHTLY $APP_PACKAGES_NIGHTLY | while read pkg comp checkout; do - if [ "x$(basename $0)" = "xitzks-build-all-packages" ]; then - itzks-build-package $pkg $comp $checkout - elif [ "x$(basename $0)" = "xitzks-upload-all-packages" ]; then - itzks-upload-package $pkg $comp $checkout - elif [ "x$(basename $0)" = "xitzks-build+upload-all-packages" ]; then - itzks-build-package $pkg $comp $checkout && itzks-upload-package $pkg $comp $checkout - fi - done -} - -# build all packages tagged as build-main -[ "x$COMPONENT" = "xmain" ] || [ -z $COMPONENT ] && { - echo -e $LIB_PACKAGES_MAIN $APP_PACKAGES_MAIN | while read pkg comp checkout; do - if [ "x$(basename $0)" = "xitzks-build-all-packages" ]; then - itzks-build-package $pkg $comp $checkout - elif [ "x$(basename $0)" = "xitzks-upload-all-packages" ]; then - itzks-upload-package $pkg $comp $checkout - elif [ "x$(basename $0)" = "xitzks-build+upload-all-packages" ]; then - itzks-build-package $pkg $comp $checkout && itzks-upload-package $pkg $comp $checkout - fi - done -} |