This commit is contained in:
sankalp committed 2024-08-13 02:51:30 +05:45
1 parent 965247d989
commit ca207347cf
98 files changed
-15609

No files matched your search

-45
View File
@@ -1,45 +0,0 @@
{
"help": {
"prefix": "help",
"body": [
"help: ## Prints help for targets with comments",
"\t@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | awk 'BEGIN {FS = \":.*?## \"}; {printf \"\\033[36m%-30s\\033[0m %s\\n\", $\\$1, $\\$2}'"
],
"description": "help target for self-documented Makefile"
},
"if statement": {
"prefix": "if",
"body": [
"ifeq (${1:cond0}, ${2:cond1})",
"\t$0",
"endif"
],
"description": "if statement"
},
"print": {
"prefix": "print",
"body": [
"print-%: ; @echo $*=$($*)"
],
"description": "print"
},
"if else statement": {
"prefix": "ife",
"body": [
"ifeq (${1:cond0}, ${2:cond1})",
"\t$3",
"else",
"\t$4",
"endif"
],
"description": "if else statement"
},
"else": {
"prefix": "el",
"body": [
"else",
"\t$0"
],
"description": "else"
}
}