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
# Atom Beautify - Debugging information | |
The following debugging information was generated by `Atom Beautify` on `Wed Jan 04 2017 11:25:25 GMT+0800 (China Standard Time)`. | |
--- | |
## Table Of Contents | |
- [Versions](#versions) | |
- [Original file to be beautified](#original-file-to-be-beautified) | |
- [Original File Contents](#original-file-contents) |
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 sh | |
function semverParseInto() { | |
local RE='[^0-9]*\([0-9]*\)[.]\([0-9]*\)[.]\([0-9]*\)\([0-9A-Za-z-]*\)'; | |
eval $2=`echo $1 | sed -e "s#$RE#\1#"`; | |
eval $3=`echo $1 | sed -e "s#$RE#\2#"`; | |
eval $4=`echo $1 | sed -e "s#$RE#\3#"`; | |
eval $5=`echo $1 | sed -e "s#$RE#\4#"`; | |
} |
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
{ | |
"uuid": { | |
"prefix": "uuid", | |
"body": "${UUID}", | |
"description": "Generate UUID" | |
}, | |
"now-date": { | |
"prefix": "now-date", | |
"body": "$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE", | |
"description": "Generate current date YYYY-MM-DD" |