Skip to content

Commit 119783f

Browse files
jchavarricristianoc
authored andcommitted
update contributing + gitignore
1 parent 8c625dd commit 119783f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,7 @@ themes
144144
.vscode/settings.json
145145
*.output # yacc output
146146
jscomp/ml/parser.output
147-
jscomp/ml/lexer.ml
147+
jscomp/ml/lexer.ml
148+
149+
# opam local switch is stored in `_opam` folder
150+
_opam

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ opam install dune
3535
opam install ocaml-lsp-server
3636
3737
# Any recent OCaml version works as a development compiler
38-
opam switch create 4.12.1
38+
opam switch create 4.14.0 # can also create local switch with opam switch create . 4.14.0
3939
4040
# We use NodeJS to run our test suites and other utilities.
4141
npm install
@@ -52,7 +52,7 @@ git submodule update
5252

5353
## Configure and Build the Compiler (`ninja` workflow)
5454

55-
> Note: These instructions allow you to do full builds of the project. In case you only want to build the project for development purposes, you can use the `dune` workflow.
55+
> Note: These instructions allow you to do full builds of the project. In case you only want to build the project for development purposes, you can use the `dune` workflow, but you will still need to run the first step: `./scripts/ninja.js config`.
5656
5757
The ReScript project is built with a vendored version of `ninja`. It requires build files to correctly detect, compile and link all the OCaml files within our project. The build files are generated and managed by a NodeJS script (`./scripts/ninja.js`).
5858

0 commit comments

Comments
 (0)