-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for builds relative to both Scala 2.8.0.final and Scala…
… trunk.
- Loading branch information
1 parent
d50d5b1
commit 63cc8a7
Showing
14 changed files
with
278 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
pom.xml.versionsBackup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
#!/bin/sh | |||
|
|||
. $(dirname $0)/env.sh | |||
|
|||
SCALA_VERSION=2.8.0 | |||
|
|||
set_version ${SCALA_VERSION} | |||
|
|||
build $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
#!/bin/sh | |||
|
|||
. $(dirname $0)/env.sh | |||
|
|||
SCALA_VERSION=2.8.0-SNAPSHOT | |||
|
|||
set_version ${SCALA_VERSION} | |||
|
|||
build $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,29 @@ | |||
# MAVEN needs to point to a MAVEN3 installation: | |||
if which mvn >/dev/null; then | |||
mvn -version | grep "Maven 3" > /dev/null | |||
if [ $? -eq 0 ]; then | |||
MAVEN="mvn" | |||
fi | |||
fi | |||
|
|||
if [ "X$MAVEN" = "X" ] ; then | |||
echo "Missing environment variable \"MAVEN\". This has to point to a maven 3.0 installation, " | |||
echo "e.g. add the following line to your .bashrc (and make sure the path is correct):" | |||
echo "export MAVEN=/opt/apache-maven-3.0-beta-1/bin/mvn" | |||
exit | |||
fi | |||
|
|||
set_version() | |||
{ | |||
${MAVEN} -f pom.xml -N versions:set -DnewVersion=$1 | |||
${MAVEN} -f pom.xml -N versions:update-child-modules | |||
} | |||
|
|||
build() | |||
{ | |||
${MAVEN} \ | |||
-U \ | |||
-Dscala.version=${SCALA_VERSION} \ | |||
clean install $* | |||
} | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,2 @@ | |||
target | target | ||
pom.xml.versionsBackup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,2 @@ | |||
target | target | ||
pom.xml.versionsBackup |
Oops, something went wrong.