mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 05:33:00 +00:00 
			
		
		
		
	Fix command quoting for Windows
Thanks Lupus for finding this. I really need to redo how some of these commands are run - maybe use npm scripts instead.
This commit is contained in:
		| @@ -316,12 +316,13 @@ task jsxDocs(type: Exec, dependsOn: [illuaminateDocs]) { | ||||
|     description = "Post-processes documentation to statically render some dynamic content." | ||||
| 
 | ||||
|     inputs.files(fileTree("src/web")).withPropertyName("sources") | ||||
|     inputs.file("src/generated/export/index.json").withPropertyName("export") | ||||
|     inputs.file("package-lock.json").withPropertyName("package-lock.json") | ||||
|     inputs.file("tsconfig.json").withPropertyName("Typescript config") | ||||
|     inputs.files(fileTree("$buildDir/docs/lua")) | ||||
|     outputs.dir("$buildDir/docs/site") | ||||
| 
 | ||||
|     commandLine mkCommand("'node_modules/.bin/ts-node' --esm src/web/transform.tsx") | ||||
|     commandLine mkCommand('"node_modules/.bin/ts-node" --esm src/web/transform.tsx') | ||||
| } | ||||
| 
 | ||||
| task docWebsite(type: Copy, dependsOn: [jsxDocs]) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jonathan Coates
					Jonathan Coates