This commit is contained in:
Adam Shaw 2009-04-26 06:03:09 +00:00
parent e292635de5
commit 1026bdc453
2 changed files with 10 additions and 4 deletions

View file

@ -12,12 +12,13 @@ REV = `svn info . | grep Rev: | sed 's/.*: //g'`
zip: zip:
@mkdir -p build/full_calendar @mkdir -p build/full_calendar
@cp -rt build/full_calendar ${FILES} @cp -rt build/full_calendar ${FILES}
@sed -i "s/Version:/& ${VER}/" build/full_calendar/full_calendar.js @rm -rf `find build -type d -name .svn`
@sed -i "s/FullCalendar/& v${VER}/" build/full_calendar/full_calendar.js
@sed -i "s/Date:/& ${DATE}/" build/full_calendar/full_calendar.js @sed -i "s/Date:/& ${DATE}/" build/full_calendar/full_calendar.js
@sed -i "s/Revision:/& ${REV}/" build/full_calendar/full_calendar.js @sed -i "s/Revision:/& ${REV}/" build/full_calendar/full_calendar.js
@mkdir -p dist @mkdir -p dist
@cd build;\ @cd build;\
zip -r ../dist/full_calendar_`cat ../version.txt`.zip * zip -r ../dist/full_calendar_`cat ../version.txt`.zip full_calendar
clean: clean:
@rm -rf build/* @rm -rf build/*

View file

@ -1,9 +1,14 @@
/* /*
* * FullCalendar
* Version:
* Date: * Date:
* Revision: * Revision:
* *
* Examples and documentation at: http://arshaw.com/fullcalendar/
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/ */
(function($) { (function($) {