This commit is contained in:
parent
e92525b9e4
commit
f3e8cc8d59
54
Makefile
54
Makefile
|
@ -5,45 +5,29 @@ FILES =\
|
||||||
examples\
|
examples\
|
||||||
changelog.txt
|
changelog.txt
|
||||||
|
|
||||||
VER = `cat version.txt`
|
min:
|
||||||
DATE = `svn info fullcalendar.js | grep Date: | sed 's/.*: //g'`
|
@java -jar build/yuicompressor-2.4.2.jar -o build/fullcalendar.min.js fullcalendar/fullcalendar.js
|
||||||
REV = `svn info fullcalendar.js | grep Rev: | sed 's/.*: //g'`
|
sed -i "s/* FullCalendar/& v`cat version.txt`/" build/fullcalendar.min.js
|
||||||
|
sed -i "s/* Date:/& `svn info fullcalendar/fullcalendar.js | grep Date: | sed 's/.*: //g'`/" build/fullcalendar.min.js
|
||||||
hey:
|
sed -i "s/* Revision:/& `svn info fullcalendar/fullcalendar.js | grep Rev: | sed 's/.*: //g'`/" build/fullcalendar.min.js
|
||||||
@for f in fullcalendar/*.js; do echo $$f; done
|
|
||||||
|
|
||||||
zip:
|
zip:
|
||||||
@mkdir -p build/F
|
@mkdir -p build/F
|
||||||
@cp -rt build/F ${FILES}
|
@cp -rt build/F ${FILES} .svn
|
||||||
#@rm -rf `find build/fullcalendar -type d -name .svn`
|
@for f in build/F/fullcalendar/*.js; do\
|
||||||
|
sed -i "s/* FullCalendar/& v`cat version.txt`/" $$f;\
|
||||||
q:
|
sed -i "s/* Date:/& `svn info $$f | grep Date: | sed 's/.*: //g'`/" $$f;\
|
||||||
@for f in fullcalendar/*.js; do\
|
sed -i "s/* Revision:/& `svn info $$f | grep Rev: | sed 's/.*: //g'`/" $$f;\
|
||||||
echo `svn info $$f`;\
|
|
||||||
done
|
done
|
||||||
|
@rm -rf `find build/F -type d -name .svn`
|
||||||
yo:
|
@if [ -e build/fullcalendar.min.js ];\
|
||||||
|
then cp build/fullcalendar.min.js build/F/fullcalendar;\
|
||||||
#sed -i "s/FullCalendar/& v`cat version.txt`/" $$f;\
|
else echo "WARNING: fullcalendar.js not yet minified.";\
|
||||||
#sed -i "s/Date:/& `svn info $$f | grep Date: | sed 's/.*: //g'`/" $$f;\
|
fi
|
||||||
#sed -i "s/Revision:/& `svn info $$f | grep Rev: | sed 's/.*: //g'`/" $$f;\
|
@cd build/F; zip -r fullcalendar-`cat ../../version.txt`.zip *
|
||||||
|
@mv build/F/fullcalendar-*.zip dist
|
||||||
|
@rm -rf build/F
|
||||||
#@cd build/fullcalendar; zip -r fullcalendar-`cat ../../version.txt`.zip *
|
@rm -f build/fullcalendar.min.js
|
||||||
#@mv build/fullcalendar/fullcalendar-`cat version.txt`.zip dist
|
|
||||||
#@rm -rf build/fullcalendar
|
|
||||||
|
|
||||||
something:
|
|
||||||
@cp -rt fullcalendar ${FILES}
|
|
||||||
@rm -rf `find fullcalendar -type d -name .svn`
|
|
||||||
|
|
||||||
@sed -i "s/FullCalendar/& v${VER}/" fullcalendar/fullcalendar.js
|
|
||||||
@sed -i "s/Date:/& ${DATE}/" fullcalendar/fullcalendar.js
|
|
||||||
@sed -i "s/Revision:/& ${REV}/" fullcalendar/fullcalendar.js
|
|
||||||
|
|
||||||
@mkdir -p dist
|
|
||||||
@zip -r dist/fullcalendar-${VER}.zip fullcalendar
|
|
||||||
@rm -rf fullcalendar
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf dist/*
|
@rm -rf dist/*
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<link rel='stylesheet' type='text/css' href='../fullcalendar.css' />
|
<link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' />
|
||||||
<script type='text/javascript' src='../jquery/jquery.js'></script>
|
<script type='text/javascript' src='../jquery/jquery.js'></script>
|
||||||
<script type='text/javascript' src='../jquery/ui.core.js'></script>
|
<script type='text/javascript' src='../jquery/ui.core.js'></script>
|
||||||
<script type='text/javascript' src='../jquery/ui.draggable.js'></script>
|
<script type='text/javascript' src='../jquery/ui.draggable.js'></script>
|
||||||
<script type='text/javascript' src='../fullcalendar.js'></script>
|
<script type='text/javascript' src='../fullcalendar/fullcalendar.js'></script>
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<link rel='stylesheet' type='text/css' href='../fullcalendar.css' />
|
<link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' />
|
||||||
<script type='text/javascript' src='../jquery/jquery.js'></script>
|
<script type='text/javascript' src='../jquery/jquery.js'></script>
|
||||||
<script type='text/javascript' src='../fullcalendar.js'></script>
|
<script type='text/javascript' src='../fullcalendar/fullcalendar.js'></script>
|
||||||
<script type='text/javascript' src='../gcal.js'></script>
|
<script type='text/javascript' src='../fullcalendar/gcal.js'></script>
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
|
@ -22,11 +22,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<link rel='stylesheet' type='text/css' href='../fullcalendar.css' />
|
<link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' />
|
||||||
<script type='text/javascript' src='../jquery/jquery.js'></script>
|
<script type='text/javascript' src='../jquery/jquery.js'></script>
|
||||||
<script type='text/javascript' src='../jquery/ui.core.js'></script>
|
<script type='text/javascript' src='../jquery/ui.core.js'></script>
|
||||||
<script type='text/javascript' src='../jquery/ui.draggable.js'></script>
|
<script type='text/javascript' src='../jquery/ui.draggable.js'></script>
|
||||||
<script type='text/javascript' src='../fullcalendar.js'></script>
|
<script type='text/javascript' src='../fullcalendar/fullcalendar.js'></script>
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*!
|
||||||
* FullCalendar
|
* FullCalendar
|
||||||
* http://arshaw.com/fullcalendar/
|
* http://arshaw.com/fullcalendar/
|
||||||
*
|
*
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.1
|
1.2
|
||||||
|
|
Loading…
Reference in a new issue