Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 27 lines (20 sloc) 0.436 kb
9dbe7bd Paul Hummer Add initial nightly script.
authored
1 #!/bin/sh
2
3 CWD=`pwd`
0141111 Paul Hummer Rework the night command to stay inside the main dir.
authored
4 TEMPDIR=$CWD/tmp
5 TARGET=$CWD/build
6
03e1eb1 Paul Hummer Change the urls to point to public git repos... *facepalm*
authored
7 YUIGITBRANCH=git://github.com/yui/yui3.git
8 BUILDGITBRANCH=git://github.com/yui/builder.git
0141111 Paul Hummer Rework the night command to stay inside the main dir.
authored
9
10 DATE=`date "+%Y%m%d"`
9dbe7bd Paul Hummer Add initial nightly script.
authored
11
12
13 mkdir $TEMPDIR
14 cd $TEMPDIR
15 git clone $YUIGITBRANCH
16 git clone $BUILDGITBRANCH
17 cd yui3/src
698b756 Paul Hummer Skip the lint step
authored
18 ant all -Dlint.skip=true
0141111 Paul Hummer Rework the night command to stay inside the main dir.
authored
19 cd $CWD
20 mkdir -p $TARGET/$DATE
21 cp -r $TEMPDIR/yui3/build/* $TARGET/$DATE
22 rm -rf $TARGET/www
23 ln -s $TARGET/$DATE $TARGET/www
9dbe7bd Paul Hummer Add initial nightly script.
authored
24
25 cd $CWD
26 rm -rf $TEMPDIR
Something went wrong with that request. Please try again.