mirror of
https://onedev.site.tesses.net/crosslang/crosslangextras
synced 2026-02-08 09:05:46 +00:00
Add schema to templates and when project is generated
This commit is contained in:
@@ -14,5 +14,6 @@
|
||||
"short_name_pretty": "Compile Tool",
|
||||
"template_ignored_files": ["bin","obj"],
|
||||
"description": "A tool that can be a dependency to a project (including libraries) that runs at compile time"
|
||||
}
|
||||
},
|
||||
"$schema": "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json"
|
||||
}
|
||||
|
||||
@@ -17,5 +17,6 @@
|
||||
"short_name_pretty": "Console Application",
|
||||
"template_ignored_files": ["bin","obj"],
|
||||
"description": "A console application"
|
||||
}
|
||||
},
|
||||
"$schema": "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json"
|
||||
}
|
||||
|
||||
@@ -15,5 +15,6 @@
|
||||
"short_name_pretty": "Empty Website",
|
||||
"template_extra_text_ftles": [],
|
||||
"template_ignored_files": ["bin","obj"]
|
||||
}
|
||||
},
|
||||
"$schema": "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json"
|
||||
}
|
||||
|
||||
@@ -14,5 +14,6 @@
|
||||
"template_ignored_files": ["bin","obj"],
|
||||
"description": "A crosslang library",
|
||||
"short_name_pretty": "Library"
|
||||
}
|
||||
},
|
||||
"$schema": "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json"
|
||||
}
|
||||
|
||||
@@ -24,5 +24,6 @@
|
||||
"template_extra_text_ftles": [],
|
||||
"template_ignored_files": ["bin","obj"],
|
||||
"short_name_pretty": "Template"
|
||||
}
|
||||
},
|
||||
"$schema": "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json"
|
||||
}
|
||||
|
||||
@@ -23,5 +23,6 @@
|
||||
"short_name_pretty": "Tool"
|
||||
},
|
||||
"version": "1.0.0.0-prod",
|
||||
"name": "Tesses.CrossLang.Template.Tool"
|
||||
"name": "Tesses.CrossLang.Template.Tool",
|
||||
"$schema": "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json"
|
||||
}
|
||||
@@ -14,5 +14,6 @@
|
||||
},
|
||||
"template_ignored_files": ["bin","obj"],
|
||||
"short_name_pretty": "WebSite"
|
||||
}
|
||||
},
|
||||
"$schema": "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json"
|
||||
}
|
||||
|
||||
@@ -21,5 +21,6 @@
|
||||
"description": "A web app (for webview or eventual cloud OS)"
|
||||
},
|
||||
"name": "Tesses.CrossLang.Template.WebApp",
|
||||
"version": "1.0.0.0-prod"
|
||||
"version": "1.0.0.0-prod",
|
||||
"$schema": "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json"
|
||||
}
|
||||
@@ -68,7 +68,7 @@ func Tesses.CrossLang.Shell.New(dd)
|
||||
|
||||
var jsonText = FS.ReadAllText(projectDir, "/cross.json");
|
||||
var proj = Json.Decode(jsonText);
|
||||
|
||||
proj.["$schema"] = "https://crosslang.tesseslanguage.com//schema/cross-json-schema.json";
|
||||
proj.name = projectPath.GetFileName();
|
||||
proj.version = "1.0.0.0-prod";
|
||||
var old_info = proj.info;
|
||||
|
||||
Reference in New Issue
Block a user