diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2021-01-19 16:57:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 16:57:02 -0500 |
commit | 476787b0f2b34d56870c54c2b4d680151fd088e6 (patch) | |
tree | 05888b139b4c092be3a546a603060e79170beb4d /erlang_ls.config | |
parent | 92318242b9bc5ec4c273a9be5e8c03080e4d780a (diff) | |
download | couchdb-476787b0f2b34d56870c54c2b4d680151fd088e6.tar.gz |
Add a .devcontainer configuration for 3.x (#3336)
This PR adds a Dockerfile and associated configuration to enable
developers to quickly provision an environment with all dependencies
installed to work on CouchDB 3.x.
The container configuration also installs the Erlang Language Server
extension. That extension needs a minimal configuration file in the root
of the project in order to find the include files, so I've added that as
well. We could likely iterate and enhance that configuration file
further with linters, dialyzers configurations, etc.
Finally, it allows a developer to set the SpiderMonkey version in an
$SM_VSN environment variable so that we can do a better job of
preserving the simplicity of `./configure; make` inside the container.
Diffstat (limited to 'erlang_ls.config')
-rw-r--r-- | erlang_ls.config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erlang_ls.config b/erlang_ls.config new file mode 100644 index 000000000..3d2fc9eb1 --- /dev/null +++ b/erlang_ls.config @@ -0,0 +1,2 @@ +include_dirs: + - "src/" |