mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-02 12:40:14 +08:00
This commit is contained in:
@@ -12,12 +12,13 @@ REV = `svn info . | grep Rev: | sed 's/.*: //g'`
|
||||
zip:
|
||||
@mkdir -p build/full_calendar
|
||||
@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/Revision:/& ${REV}/" build/full_calendar/full_calendar.js
|
||||
@mkdir -p dist
|
||||
@cd build;\
|
||||
zip -r ../dist/full_calendar_`cat ../version.txt`.zip *
|
||||
zip -r ../dist/full_calendar_`cat ../version.txt`.zip full_calendar
|
||||
|
||||
clean:
|
||||
@rm -rf build/*
|
||||
|
||||
+7
-2
@@ -1,9 +1,14 @@
|
||||
/*
|
||||
*
|
||||
* Version:
|
||||
* FullCalendar
|
||||
* Date:
|
||||
* 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($) {
|
||||
|
||||
Reference in New Issue
Block a user