Permalink
Browse files

various uncommitted build scripts

  • Loading branch information...
1 parent 925b371 commit 37c0a04cf7b6cbab09f4ecbdd2c2a7166646efcb Andrew Jorgensen committed May 3, 2011
Showing with 56 additions and 0 deletions.
  1. +1 −0 ajorg/README
  2. +15 −0 ajorg/build
  3. +11 −0 ajorg/get-latest-mono
  4. +14 −0 ajorg/get-latest-monodevelop
  5. +15 −0 ajorg/get-latest-nightly
View
@@ -0,0 +1 @@
+Various scripts I used that didn't get checked in elsewhere.
View
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+sudo /usr/sbin/sntp -P no -r time.novell.com
+curl --silent --location "http://build.mono-project.com/DownloadLatestFile.aspx?lane=monkeywrench&filename=MonkeyWrench.zip" | zcat > MonkeyWrench.zip
+unzip -o -q MonkeyWrench.zip
+START=$(date +%s)
+END=$START
+while [ "$END" -lt "$(expr $START + 30)" ]; do
+ START=$(date +%s)
+ mono MonkeyWrench.Builder.exe
+ END=$(date +%s)
+ echo "Sleeping..."
+ sleep 20
+ echo "Woke up!"
+done
View
@@ -0,0 +1,11 @@
+#!/bin/bash -x
+version=2.10
+TUPLES="debugger:mono-debugger gluezilla:libgluezilla0 libgdiplus:libgdiplus0 mod_mono:apache2-mod_mono mono:mono-core mono-basic:mono-basic mono-tools:mono-tools xsp:xsp"
+for tuple in $TUPLES; do
+ name=$(echo $tuple | cut -f1 -d:)
+ package=$(echo $tuple | cut -f2 -d:)
+ pushd "$package"
+ rm *.tar.bz2
+ curl --silent --location --remote-name --remote-header-name "http://build.mono-project.com/DownloadLatestFile.aspx?lane=$name-$version-dist&host=dist&filename=*.tar.bz2"
+ popd
+done
@@ -0,0 +1,14 @@
+#!/bin/bash -x
+version=2.6
+for i in monodevelop monodevelop-java monodevelop-python monodevelop-vala monodevelop-database monodevelop-debugger-gdb; do
+ pushd $i
+ rm *.tar.bz2
+ curl -s -L -O -J "http://build.mono-project.com/DownloadLatestFile.aspx?lane=$i-$version-dist&successful&filename=*.tar.bz2"
+ osc ar
+ popd
+done
+pushd mono-addins
+rm *.tar.bz2
+curl -s -L -O -J "http://build.mono-project.com/DownloadLatestFile.aspx?lane=mono-addins-0.6-dist&successful&filename=*.tar.bz2"
+osc ar
+popd
@@ -0,0 +1,15 @@
+#!/bin/bash -ex
+version=master
+osc up
+TUPLES="libgdiplus:libgdiplus0 mono:mono-core mono-basic:mono-basic xsp:xsp mod_mono:apache2-mod_mono mono-tools:mono-tools debugger:mono-debugger mono-addins:mono-addins monodevelop:monodevelop gluezilla:libgluezilla0"
+for tuple in $TUPLES; do
+ name=$(echo $tuple | cut -f1 -d:)
+ package=$(echo $tuple | cut -f2 -d:)
+ pushd $package
+ rm -f *.spec *.tar.bz2
+ curl -s -L -O -J "http://build.mono-project.com/DownloadLatestFile.aspx?lane=$name-$version-dist&successful&filename=*.spec"
+ curl -s -L -O -J "http://build.mono-project.com/DownloadLatestFile.aspx?lane=$name-$version-dist&successful&filename=*.tar.bz2"
+ osc ar
+ osc ci -m "$(date)"
+ popd
+done

0 comments on commit 37c0a04

Please sign in to comment.