Skip to content

Commit

Permalink
Do not scan unecessary directories with dune
Browse files Browse the repository at this point in the history
This will reduce the number of rules dune
produces from 750k to 10k. Will not make compilation
faster but it does make dune more responsive.
  • Loading branch information
filipeom committed Jun 25, 2024
1 parent 1e3d351 commit 3492447
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions JS-Interpreters/dune
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
(dirs ecmaref5 ecmaref6)

(rule
(targets es5.include es6.include es6-sym.include es6-sym.cesl)
(deps
Expand Down
2 changes: 2 additions & 0 deletions JS2ECMA-SL/dune
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
(dirs src)

(executable
(name script)
(modules script)
Expand Down
1 change: 1 addition & 0 deletions test/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(dirs ecma-sl ecmaref javascript)

0 comments on commit 3492447

Please sign in to comment.