From 7f83fbd5a34e5f3c223aee0adc314f9916ae46e9 Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Sun, 5 Nov 2023 10:10:09 +0100 Subject: [PATCH] Remove native compilation leftovers from build schema --- docs/docson/build-schema.json | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/docs/docson/build-schema.json b/docs/docson/build-schema.json index 7f24e3e02d..d5e6adbe8b 100644 --- a/docs/docson/build-schema.json +++ b/docs/docson/build-schema.json @@ -295,26 +295,6 @@ ], "description": "Example: `\"src\"` or `[\"src\", \"test\"]` or `[{\"dir\": \"src\", \"subdirs\": [...]}]`" }, - "targetItems": { - "type": "object", - "properties": { - "kind": { - "enum": ["native", "bytecode", "js"], - "description": "The compiler to use for the target" - }, - "main": { - "type": "string", - "description": "Name of the main module used as entry point for this target. 'entry-point' isn't used when this project is built as a dependency." - } - } - }, - "entries": { - "type": "array", - "items": { - "$ref": "#/definitions/targetItems" - }, - "description": "A list of buildable targets" - }, "gentype-specs": { "type": "object", "properties": { @@ -494,10 +474,6 @@ "$ref": "#/definitions/package-specs", "description": "ReScript can currently output to [Commonjs](https://en.wikipedia.org/wiki/CommonJS), and [ES6 modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)" }, - "entries": { - "$ref": "#/definitions/entries", - "description": "(internal) Used by bsb to build to different targets: native (ocamlopt), bytecode (ocamlc) or JS (bsc)" - }, "use-stdlib": { "type": "boolean", "description": "(Experimental) whether to use the OCaml standard library. Default: true"