mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
move intro to text for css combine, js combine, and makefile use
This commit is contained in:
parent
2212d7428c
commit
989f7f1542
5 changed files with 15 additions and 6 deletions
9
INTRO.txt
Normal file
9
INTRO.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* jQuery Mobile Framework v@VERSION
|
||||
* http://jquerymobile.com
|
||||
*
|
||||
* Copyright 2011 (c) jQuery Project
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
*/
|
||||
6
Makefile
6
Makefile
|
|
@ -103,9 +103,9 @@ all: init js min css cssmin notify
|
|||
# Build the normal CSS file.
|
||||
css: init
|
||||
# Build the CSS file
|
||||
@@cat js/jquery.mobile.intro.js | ${SED_VER} > ${OUTPUT}/${CSS}
|
||||
@@cat INTRO.txt | ${SED_VER} > ${OUTPUT}/${CSS}
|
||||
@@cat ${CSSFILES} >> ${OUTPUT}/${CSS}
|
||||
@@cat js/jquery.mobile.intro.js | ${SED_VER} > ${OUTPUT}/${CSSSTRUCTURE}
|
||||
@@cat INTRO.txt | ${SED_VER} > ${OUTPUT}/${CSSSTRUCTURE}
|
||||
@@cat ${CSSSTRUCTUREFILES} >> ${OUTPUT}/${CSSSTRUCTURE}
|
||||
|
||||
# Build the minified CSS file
|
||||
|
|
@ -119,7 +119,7 @@ cssmin: init css
|
|||
# Build the normal JS file
|
||||
js: init
|
||||
# Build the JavaScript file
|
||||
@@cat js/jquery.mobile.intro.js | ${SED_VER} > ${OUTPUT}/${JS}
|
||||
@@cat INTRO.txt | ${SED_VER} > ${OUTPUT}/${JS}
|
||||
@@cat ${JSFILES} >> ${OUTPUT}/${JS}
|
||||
|
||||
# Create the output directory. This is in a separate step so its not dependant on other targets
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
$files = array_merge($files, array(
|
||||
'../../../js/jquery.mobile.intro.js',
|
||||
'../../../INTRO.txt',
|
||||
'../../structure/jquery.mobile.core.css',
|
||||
'../../structure/jquery.mobile.transitions.css',
|
||||
'../../structure/jquery.mobile.grids.css',
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
$type = 'text/css';
|
||||
$files = array(
|
||||
'../../../js/jquery.mobile.intro.js',
|
||||
'../../../INTRO.txt',
|
||||
'jquery.mobile.theme.css'
|
||||
);
|
||||
$base = dirname(__FILE__);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
$type = 'text/javascript';
|
||||
$files = array(
|
||||
'jquery.mobile.intro.js',
|
||||
'INTRO.txt',
|
||||
'jquery.ui.widget.js',
|
||||
'jquery.mobile.widget.js',
|
||||
'jquery.mobile.media.js',
|
||||
|
|
|
|||
Loading…
Reference in a new issue