1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-jquerymobile

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Gruntfile.js 1.5 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Alexander Schmitz Отправлено 16.04.2015 16:46 6b9b2ab
module.exports = function( grunt ) {
"use strict";
var path = require( "path" );
var dist = "dist" + path.sep;
var today = grunt.template.today( "UTC:yyyy" );
require( "load-grunt-config" )( grunt, {
configPath: [
path.join( process.cwd(), "build/tasks/options" ),
path.join( process.cwd(), "build/tasks" )
],
init: true,
data: {
pkg: grunt.file.readJSON( "package.json" ),
dist: dist,
name: "jquery.mobile",
phpPort: Math.floor( 8000 + Math.random() * 1000 ),
versionSuffix: "",
headHash: "",
headShortHash: "",
version: "<%= version %>",
dirs: {
dist: dist,
cdn: {
google: path.join( dist, "cdn-google" ),
jquery: path.join( dist, "cdn" ),
git: path.join( dist, "git" )
},
tmp: path.join( dist, "tmp" )
},
banner: [
"/*!",
"* jQuery Mobile <%= version %>",
"* <%if ( headHash ) {%>Git HEAD hash: <%= headHash %> <> <% } %>Date: " +
grunt.template.today( "UTC:ddd mmm d yyyy HH:MM:ss Z" ),
"* http://jquerymobile.com",
"*",
"* Copyright 2010, " + today + " jQuery Foundation, Inc. and other" +
" contributors",
"* Released under the MIT license.",
"* http://jquery.org/license",
"*",
"*/",
"",
"",
""
].join( grunt.util.linefeed ),
bannerMin: "/*! jQuery Mobile <%= version %> | <%if ( headShortHash ) {%>Git HEAD" +
"hash: <%= headShortHash %> <> <% } %>" + grunt.template.today( "UTC:yyyy-mm-dd" ) +
"T" + grunt.template.today( "UTC:HH:MM:ss" ) + "Z | (c) 2010, " +
today + " jQuery Foundation, Inc. | jquery.org/license */\n"
}
} );
};

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-jquerymobile.git
git@api.gitlife.ru:oschina-mirror/mirrors-jquerymobile.git
oschina-mirror
mirrors-jquerymobile
mirrors-jquerymobile
main