This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#!coding: utf-8 | |
import sys, os, re, shutil | |
from optparse import OptionParser | |
parser = OptionParser(usage= | |
'''%prog [options] <target-dir> | |
Example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# grunt-newer: | |
# Check for newer @import .scss files example(CoffeeScript version) | |
# Customized of @bellerus https://gist.github.com/bellerus/10414499 | |
# See: https://github.com/tschaub/grunt-newer/issues/29 | |
module.exports.checkForModifiedImports = (details, action) -> | |
fs = require('fs') | |
path = require('path') | |
scssFile = details.path | |
mTime = details.time |