Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 43 lines (35 sloc) 0.971 kb
7564ef9 @hafriedlander Add build script to compile distro branch
authored
1 #!/bin/sh
2
a29a6ab @hafriedlander Tweak build script
authored
3 # Specify the output file's name
7bf2d39 Rename concrete to entwine (and concreteData to entwineData, etc.), and ...
Hamish Friedlander authored
4 FILE="dist/jquery.entwine-dist.js"
7564ef9 @hafriedlander Add build script to compile distro branch
authored
5
e69e189 @hafriedlander Reorganise concrete source into more than one file, for easier maintenan...
authored
6 mkdir -p dist
a29a6ab @hafriedlander Tweak build script
authored
7 rm dist/*.js
7564ef9 @hafriedlander Add build script to compile distro branch
authored
8
7bf2d39 Rename concrete to entwine (and concreteData to entwineData, etc.), and ...
Hamish Friedlander authored
9 echo "/* jQuery.Entwine - Copyright 2009 Hamish Friedlander and SilverStripe. Version $VER. */" > $FILE
e69e189 @hafriedlander Reorganise concrete source into more than one file, for easier maintenan...
authored
10
11 for x in \
12 vendor/jquery.selector/jquery.class.js \
13 vendor/jquery.selector/jquery.selector.js \
14 vendor/jquery.selector/jquery.selector.specifity.js \
15 vendor/jquery.selector/jquery.selector.matches.js \
16 src/jquery.focusinout.js \
7bf2d39 Rename concrete to entwine (and concreteData to entwineData, etc.), and ...
Hamish Friedlander authored
17 src/jquery.entwine.js \
18 src/jquery.entwine.dommaybechanged.js \
19 src/jquery.entwine.events.js \
20 src/jquery.entwine.ctors.js \
21 src/jquery.entwine.properties.js \
22 src/jquery.entwine.legacy.js
e69e189 @hafriedlander Reorganise concrete source into more than one file, for easier maintenan...
authored
23 do \
24 echo >> $FILE
25 echo "/* $x */" >> $FILE
26 echo >> $FILE
27 cat $x >> $FILE
4c98014 @hafriedlander More reorganising, and some additions to the properties handler
authored
28 echo ';' >> $FILE
e69e189 @hafriedlander Reorganise concrete source into more than one file, for easier maintenan...
authored
29 echo >> $FILE
7564ef9 @hafriedlander Add build script to compile distro branch
authored
30 done
31
e69e189 @hafriedlander Reorganise concrete source into more than one file, for easier maintenan...
authored
32 # cp LICENSE /tmp/
33 # cp $FILE /tmp/
34
35 # git checkout dist
36 # mv /tmp/$FILE .
37 # mv /tmp/LICENSE .
7564ef9 @hafriedlander Add build script to compile distro branch
authored
38
e69e189 @hafriedlander Reorganise concrete source into more than one file, for easier maintenan...
authored
39 # git add $FILE
40 # git add LICENSE
41 # git commit -m "Update dist to master version $VER"
7564ef9 @hafriedlander Add build script to compile distro branch
authored
42
e69e189 @hafriedlander Reorganise concrete source into more than one file, for easier maintenan...
authored
43 # git checkout master
Something went wrong with that request. Please try again.