From ca7a549ef79401fef98c614b1a4dcc708e62ed03 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Mon, 28 Oct 2013 10:04:10 +0100 Subject: Remove outdated build scripts. Only used on the 2.9.x series: /code/jenkins-config grep -R epfl-build . ./jobs/scala-nightly-checkinit-2.9.x/config.xml: ./tools/epfl-build 2.9.x -Xcheckinit ./jobs/scala-nightly-main-2.9.x/config.xml:./tools/epfl-build 2.9.x && ./tools/epfl-publish 2.9.x /code/jenkins-config grep -R epfl-publish . ./jobs/scala-nightly-main-2.9.x/config.xml:./tools/epfl-build 2.9.x && ./tools/epfl-publish 2.9.x --- tools/epfl-build | 28 ---------------------------- tools/epfl-publish | 32 -------------------------------- 2 files changed, 60 deletions(-) delete mode 100755 tools/epfl-build delete mode 100755 tools/epfl-publish (limited to 'tools') diff --git a/tools/epfl-build b/tools/epfl-build deleted file mode 100755 index dd66307de3..0000000000 --- a/tools/epfl-build +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash -# -# builds nightlies - -[[ $# -gt 0 ]] || { - cat < [opt opt ...] - - Everything after the version is supplied to scalac and partest. - Example: $0 -Xcheckinit -Ycheck:all - -Environment variables: - extra_ant_targets Additional ant targets to run after nightly - -EOM - exit 0 -} - -# version isn't actually used at present. -scalaVersion="$1" && shift -scalaArgs="-Dscalac.args=\"$@\" -Dpartest.scalac_opts=\"$@\"" - -ant all.clean && ./pull-binary-libs.sh - -ant $scalaArgs build-opt && -ant $scalaArgs nightly && -for target in $extra_ant_targets; do ant $target ; done -# [[ -n "$BUILD_DOCSCOMP" ]] && ant docscomp diff --git a/tools/epfl-publish b/tools/epfl-publish deleted file mode 100755 index cdf18823a5..0000000000 --- a/tools/epfl-publish +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash -# -# publishes nightly build if $publish_to is set in environment. -# - -[[ $# -eq 1 ]] || { - cat < - -Environment variables: - publish_to rsync destination -EOM - exit 0 -} -version="$1" - -[[ -d dists/archives ]] || { - echo "Can't find build, has it completed? No directory at dists/archives" - exit 1 -} - -if [[ -z $publish_to ]]; then - echo "Nothing to publish." -else - echo "Publishing nightly build to $publish_to" - # Archive Scala nightly distribution - rsync -az --exclude scala-latest-sources.tgz dists/archives/ "$publish_to/distributions" - # only publish scaladoc nightly for trunk - [[ $version == "master" ]] && rsync -az build/scaladoc/ "$publish_to/docs" - # sbaz - [[ -d dists/sbaz ]] && rsync -az dists/sbaz/ "$publish_to/sbaz" -fi -- cgit v1.2.3