Socket
Book a DemoInstallSign in
Socket

grunt-ttime

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-ttime

Record task completion time as mtime of a file

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

grunt-ttime Build Status

Record task completion time as mtime of a file. Use with grunt-find to skip files that haven't changed since the last time a task ran.

npm install --save-dev grunt-ttime

Run ttime:foo to generate a file named foo in the ttime directory (.grunt/ttime by default).

Run ttime:clear to remove all the generated files.

grunt.loadNpmTasks('grunt-ttime');
grunt.loadNpmTasks('grunt-contrib-coffee');

grunt.initConfig({
  ttime: {
    dest: 'build/' // generate files in build/ttime/ instead of .grunt/ttime/
  },

  coffee: {
    all: {
      /* ... */
    }
  }
});

grunt.defineTask('default', ['coffee', 'ttime:coffee']
grunt.defineTask('clean', ['ttime:clear']

Keywords

grunt

FAQs

Package last updated on 19 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts