/[Frey]/trunk/bin/checkout-js.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/checkout-js.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 856 by dpavlin, Tue Dec 16 14:09:50 2008 UTC revision 1026 by dpavlin, Wed Jan 28 19:54:40 2009 UTC
# Line 1  Line 1 
1  cd static/js || exit  #!/bin/sh
2    
3  function svn_upstream() {  source bin/checkout-upstream.sh
         url=$1  
         dir=$2  
         echo "** svn $url -> $dir"  
         test -d $dir/.svn && cd $dir && svn update || svn co $url $dir && cd -  
 }  
 function git_upstream() {  
         url=$1  
         dir=`echo $1 | sed -e 's!^.*/\([^/]*\).git$!\1!'`  
         echo "** git $url -> $dir"  
         test -d $dir/.git && cd $dir && git pull || git clone $url && cd -  
 }  
   
 function hg_upstream() {  
         url=$1  
         dir=`echo $1 | sed -e 's!^.*/\([^/]*\)$!\1!'`  
         echo "** hg $url -> $dir"  
         test -d $dir/.hg && cd $dir && hg pull || hg clone $url && cd -  
 }  
4    
5    cd static/js || exit
6    
7  wget -nc http://extjs.com/deploy/ext-2.2.zip  wget -nc http://extjs.com/deploy/ext-2.2.zip
8  unzip -u `ls -c ext*.zip | head -1`  unzip -u `ls -c ext*.zip | head -1`
9    
10  wget -nc http://ondras.zarovi.cz/sql/sql-2.1.1.zip  # http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
11  unzip -u sql*.zip  wget -m http://www.isocra.com/articles/jquery.tablednd_0_5.js.zip
12    
13    #wget -nc http://ondras.zarovi.cz/sql/sql-2.1.1.zip
14    #unzip -u sql*.zip
15    svn_upstream http://wwwsqldesigner.googlecode.com/svn/trunk/ sql
16    
17  # YUI  # YUI
18    
19  svn_upstream http://inputex.googlecode.com/svn/trunk/ inputex  #svn_upstream http://inputex.googlecode.com/svn/trunk/ inputex
20  svn_upstream http://wireit.googlecode.com/svn/trunk/ wireit  #svn_upstream http://wireit.googlecode.com/svn/trunk/ wireit
21    git_upstream git://github.com/neyric/wireit.git
22    git_upstream git://github.com/neyric/inputex.git
23    
24  # jquery based  # jquery based
25    
# Line 42  git_upstream git://github.com/nostrademo Line 31  git_upstream git://github.com/nostrademo
31    
32  # graphics  # graphics
33    
34  wget -nc http://blog.thejit.org/wp-content/jit.zip  wget -m http://blog.thejit.org/wp-content/jit.zip
35  unzip -u `ls -c jit*.zip | head -1`  unzip -u `ls -c jit*.zip | head -1`
36    
37  hg_upstream http://hg.mozilla.org/users/bsmedberg_mozilla.com/wordmap  hg_upstream http://hg.mozilla.org/users/bsmedberg_mozilla.com/wordmap

Legend:
Removed from v.856  
changed lines
  Added in v.1026

  ViewVC Help
Powered by ViewVC 1.1.26