Skip to content

Remove outdated tasks.js and tasks.json #6156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 0 additions & 79 deletions .vscode/tasks.json

This file was deleted.

3 changes: 1 addition & 2 deletions jscomp/ml/builtin_attributes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ let rec error_of_extension ext =

let cat s1 s2 =
if s2 = "" then s1 else
if Clflags.bs_vscode then s1 ^ " " ^ s2
(* 2 spaces indentation for the next line *)
else s1 ^ "\n " ^ s2
s1 ^ "\n " ^ s2

let rec deprecated_of_attrs = function
| [] -> None
Expand Down
5 changes: 0 additions & 5 deletions jscomp/ml/clflags.ml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ let unboxed_types = ref false

type mli_status = Mli_exists | Mli_non_exists
let assume_no_mli = ref Mli_non_exists
let bs_vscode =
try ignore @@ Sys.getenv "BS_VSCODE" ; true with _ -> false
(* We get it from environment variable mostly due to
we don't want to rebuild when flip on or off
*)
let dont_record_crc_unit : string option ref = ref None
let bs_gentype = ref false
let no_assert_false = ref false
Expand Down
1 change: 0 additions & 1 deletion jscomp/ml/clflags.mli
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ val reset_dump_state: unit -> unit

type mli_status = Mli_exists | Mli_non_exists
val assume_no_mli : mli_status ref
val bs_vscode : bool
val dont_record_crc_unit : string option ref
val bs_gentype : bool ref
val no_assert_false : bool ref
Expand Down
6 changes: 1 addition & 5 deletions jscomp/super_errors/super_main.ml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
(* the entry point. This is used by rescript_compiler_main.ml *)
let setup =
lazy (match Sys.getenv_opt "BS_VSCODE" with
| Some ("true" | "1") ->
()
| Some _ | None ->
Super_location.setup ();
lazy (Super_location.setup ();
Super_typetexp.setup ();
Super_typemod.setup ();
Super_typecore.setup ();
Expand Down
146 changes: 0 additions & 146 deletions scripts/tasks.js

This file was deleted.