/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tools/grunt/configs/exec.js
38 строк
799 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 10:44
22 окт 2025, 10:44
264bea2
Код
Авторство
О чём код?
/** * Copyright 2015 Adobe * All Rights Reserved. */ 'use strict'; var combo = require('./combo'), themes = require('../tools/files-router').get('themes'), _ = require('underscore'); var themeOptions = {}; _.each(themes, function(theme, name) { themeOptions[name] = { cmd: combo.collector.bind(combo, name) }; }); var execOptions = { all : { cmd: function () { var cmdPlus = (/^win/.test(process.platform) == true) ? ' & ' : ' && ', command; command = _.map(themes, function(theme, name) { return combo.collector(name); }).join(cmdPlus); return 'echo ' + command; } } }; /** * Execution into cmd */ module.exports = _.extend(themeOptions, execOptions);