zoukankan      html  css  js  c++  java
  • an extra named object property

    Grunt supports the ability to split each task configuration into several separate configurations allowing different task options to accommodate different scenarious, such as appling different settings to different files, for example. This feature is known as multitasksand is achieved by adding an extra named object property beneath each task property name in the configuration section of the Gruntfile. Each of these multitask configuration objects is known as a target, and different targets can be run through Grunt one at a time, or all targets run together in the order that they are defined.

    Grunt支持把每一个任务的配置信息划分至若干单独的配置内容中,以实现不同的任务选项来适应不同的使用场合。例如,对不同的文件应用不同的设定。此特性为称作multitask(多任务),实现方法是在Gruntfile的配置小节中,在每一个任务属性名称之下增加一个额外的命名对象属性。每一个这样的多任务配置对象称作一个target(目标),而不同的target可以通过Grunt来一次一个地运行,或者也可以按照各个target定义的顺序来按次序一起运行所有的target。

    ---------------------------------------------------------------end
  • 相关阅读:
    Python-装饰器进阶
    JavaScript-CasperJs使用教程
    Python-第三方库requests详解
    PHP-PHP程序员的技术成长规划(By黑夜路人)
    Bootstrap-学习系列
    CSS-常用媒体查询
    Git-随笔
    工具-各种开源
    PHP-PHP5.3及以上版本中检查json格式的方法
    VIM-技巧
  • 原文地址:https://www.cnblogs.com/da3j/p/4204909.html
Copyright © 2011-2022 走看看