From f9a344aa8972a2d0ae7108f03097c4a836dfbc99 Mon Sep 17 00:00:00 2001 From: Fabrice Le Fessant Date: Sun, 17 Sep 2023 21:40:15 +0200 Subject: [PATCH] Remove vscode from cross opam files --- Makefile.header | 10 +++ opam/osx/superbol-vscode-platform-osx.opam | 64 ------------------- .../superbol-vscode-platform-windows.opam | 64 ------------------- 3 files changed, 10 insertions(+), 128 deletions(-) delete mode 100644 opam/osx/superbol-vscode-platform-osx.opam delete mode 100644 opam/windows/superbol-vscode-platform-windows.opam diff --git a/Makefile.header b/Makefile.header index bf36bf4df..bf9487728 100644 --- a/Makefile.header +++ b/Makefile.header @@ -27,3 +27,13 @@ compile-release: --sourcemap \ --sources-content=false +.PHONY: opam-cross + +opam-cross: + drom dep --cross osx + rm -f opam/osx/*vscode*.opam + rm -f opam/osx/*-js-*.opam + drom dep --cross windows + rm -f opam/windows/*vscode*.opam + rm -f opam/windows/*-js-*.opam + diff --git a/opam/osx/superbol-vscode-platform-osx.opam b/opam/osx/superbol-vscode-platform-osx.opam deleted file mode 100644 index 51944ceb8..000000000 --- a/opam/osx/superbol-vscode-platform-osx.opam +++ /dev/null @@ -1,64 +0,0 @@ -# This file was generated by `drom` from `drom.toml`. -# Do not modify, or add to the `skip` field of `drom.toml`. -opam-version: "2.0" -name: "superbol-vscode-platform" -version: "0.1.0" -license: "MIT" -synopsis: "The superbol-vscode-platform project" -description: """\ -This is the description -of the superbol-vscode-platform OCaml project -""" -authors: [ - "Fabrice Le Fessant " - "Emilien Lemaire " -] -maintainer: [ - "Fabrice Le Fessant " - "Emilien Lemaire " -] -homepage: "https://ocamlpro.github.io/superbol-vscode-platform" -doc: "https://ocamlpro.github.io/superbol-vscode-platform/sphinx" -bug-reports: "https://github.com/ocamlpro/superbol-vscode-platform/issues" -dev-repo: "git+https://github.com/ocamlpro/superbol-vscode-platform.git" -tags: "org:ocamlpro" -build: [ - ["dune" "subst"] {dev} - ["sh" "-c" "./scripts/before.sh build '%{name}%'"] - [ - "dune" - "build" - "-p" - "superbol-vscode-platform" - "-x" - "osx" - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] - ["sh" "-c" "./scripts/after.sh build '%{name}%'"] -] -install: [ - ["sh" "-c" "./scripts/before.sh install '%{name}%'"] -] -depends: [ - "ocaml" {>= "4.13.0"} - "dune" {>= "2.7.0"} - "vscode-languageclient-js-stubs-osx" {= version} - "vscode-js-stubs-osx" {= version} - "promise_jsoo-osx" {>= "0.3.1" & < "1.0.0"} - "polka-js-stubs-osx" {= version} - "ocplib_stuff-osx" {>= "0.4.0" & < "1.0.0"} - "node-js-stubs-osx" {= version} - "jsonoo-osx" {>= "0.2.1" & < "1.0.0"} - "js_of_ocaml-osx" {>= "4"} - "gen_js_api-osx" {>= "1.1.1" & < "2.0.0"} - "js_of_ocaml-ppx" {>= "4"} - "ppx_inline_test" {with-test} - "ppx_expect" {with-test} - "odoc" {with-doc} - "ocamlformat" {with-test} -] -# Content of `opam-trailer` field: \ No newline at end of file diff --git a/opam/windows/superbol-vscode-platform-windows.opam b/opam/windows/superbol-vscode-platform-windows.opam deleted file mode 100644 index 8a9d2431a..000000000 --- a/opam/windows/superbol-vscode-platform-windows.opam +++ /dev/null @@ -1,64 +0,0 @@ -# This file was generated by `drom` from `drom.toml`. -# Do not modify, or add to the `skip` field of `drom.toml`. -opam-version: "2.0" -name: "superbol-vscode-platform" -version: "0.1.0" -license: "MIT" -synopsis: "The superbol-vscode-platform project" -description: """\ -This is the description -of the superbol-vscode-platform OCaml project -""" -authors: [ - "Fabrice Le Fessant " - "Emilien Lemaire " -] -maintainer: [ - "Fabrice Le Fessant " - "Emilien Lemaire " -] -homepage: "https://ocamlpro.github.io/superbol-vscode-platform" -doc: "https://ocamlpro.github.io/superbol-vscode-platform/sphinx" -bug-reports: "https://github.com/ocamlpro/superbol-vscode-platform/issues" -dev-repo: "git+https://github.com/ocamlpro/superbol-vscode-platform.git" -tags: "org:ocamlpro" -build: [ - ["dune" "subst"] {dev} - ["sh" "-c" "./scripts/before.sh build '%{name}%'"] - [ - "dune" - "build" - "-p" - "superbol-vscode-platform" - "-x" - "windows" - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] - ["sh" "-c" "./scripts/after.sh build '%{name}%'"] -] -install: [ - ["sh" "-c" "./scripts/before.sh install '%{name}%'"] -] -depends: [ - "ocaml" {>= "4.13.0"} - "dune" {>= "2.7.0"} - "vscode-languageclient-js-stubs-windows" {= version} - "vscode-js-stubs-windows" {= version} - "promise_jsoo-windows" {>= "0.3.1" & < "1.0.0"} - "polka-js-stubs-windows" {= version} - "ocplib_stuff-windows" {>= "0.4.0" & < "1.0.0"} - "node-js-stubs-windows" {= version} - "jsonoo-windows" {>= "0.2.1" & < "1.0.0"} - "js_of_ocaml-windows" {>= "4"} - "gen_js_api-windows" {>= "1.1.1" & < "2.0.0"} - "js_of_ocaml-ppx" {>= "4"} - "ppx_inline_test" {with-test} - "ppx_expect" {with-test} - "odoc" {with-doc} - "ocamlformat" {with-test} -] -# Content of `opam-trailer` field: \ No newline at end of file