| 1 | NOW=`date "+%a %Y-%m-%d %T"` |
| 2 | sed -i -- "s|{{TIMESTAMP}}|${NOW}|g" $CK_OUTPUT_PATH |
portalzine / Codekit - Timestamp Hook
Last active 3 months ago
Add current timestamp to files, when compiling
Revision 208db7bd5e14d0bfff82064f75be62af7b7ceddf
Last active 3 months ago
Add current timestamp to files, when compiling
Revision 208db7bd5e14d0bfff82064f75be62af7b7ceddf
| 1 | NOW=`date "+%a %Y-%m-%d %T"` |
| 2 | sed -i -- "s|{{TIMESTAMP}}|${NOW}|g" $CK_OUTPUT_PATH |