Skip to content

Commit

Permalink
Move DAP debugger to separate repo (#1447)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoaloi authored Aug 14, 2023
1 parent a0e00b8 commit a4a1200
Show file tree
Hide file tree
Showing 24 changed files with 3 additions and 3,453 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ jobs:
with:
name: erlang_ls
path: _build/default/bin/erlang_ls
- name: Escriptize DAP Server
run: rebar3 as dap escriptize
- name: Store DAP Server Escript
uses: actions/upload-artifact@v2
with:
name: els_dap
path: _build/dap/bin/els_dap
- name: Check formatting
run: rebar3 fmt -c
- name: Lint
Expand Down Expand Up @@ -82,7 +75,6 @@ jobs:
path: |
apps/els_core/doc
apps/els_lsp/doc
apps/els_dap/doc
windows:
runs-on: windows-latest
steps:
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ jobs:
with:
name: erlang_ls
path: _build/default/bin/erlang_ls
- name: Escriptize DAP Server
run: rebar3 as dap escriptize
- name: Store DAP Server Escript
uses: actions/upload-artifact@v2
with:
name: els_dap
path: _build/dap/bin/els_dap
- name: Check formatting
run: rebar3 fmt -c
- name: Lint
Expand Down Expand Up @@ -86,7 +79,6 @@ jobs:
path: |
apps/els_core/doc
apps/els_lsp/doc
apps/els_dap/doc
# Make release artifacts : erlang_ls
- name: Make erlang_ls-linux.tar.gz
Expand All @@ -105,18 +97,6 @@ jobs:
asset_name: "erlang_ls-linux-${{ matrix.otp-version }}.tar.gz"
asset_path: "erlang_ls-linux-${{ matrix.otp-version }}.tar.gz"
upload_url: "${{ steps.get_release_url.outputs.upload_url }}"
# Make release artifacts : els_dap
- name: Make els_dap-linux.tar.gz
run: 'tar -zcvf els_dap-linux-${{ matrix.otp-version }}.tar.gz -C _build/dap/bin/ els_dap'
- env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
name: Upload release els_dap-linux.tar.gz
uses: "actions/[email protected]"
with:
asset_content_type: application/octet-stream
asset_name: "els_dap-linux-${{ matrix.otp-version }}.tar.gz"
asset_path: "els_dap-linux-${{ matrix.otp-version }}.tar.gz"
upload_url: "${{ steps.get_release_url.outputs.upload_url }}"
windows:
runs-on: windows-latest
steps:
Expand All @@ -135,13 +115,6 @@ jobs:
with:
name: erlang_ls
path: _build/default/bin/erlang_ls
- name: Escriptize DAP Server
run: rebar3 as dap escriptize
- name: Store DAP Server Escript
uses: actions/upload-artifact@v2
with:
name: els_dap
path: _build/dap/bin/els_dap
- name: Lint
run: rebar3 lint
- name: Generate Dialyzer PLT for usage in CT Tests
Expand Down Expand Up @@ -179,15 +152,3 @@ jobs:
asset_name: erlang_ls-win32.tar.gz
asset_path: erlang_ls-win32.tar.gz
upload_url: "${{ steps.get_release_url.outputs.upload_url }}"
# Make release artifacts : els_dap
- name: Make els_dap-win32.tar.gz
run: 'tar -zcvf els_dap-win32.tar.gz -C _build/dap/bin/ els_dap'
- env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
name: Upload release els_dap-win32.tar.gz
uses: "actions/[email protected]"
with:
asset_content_type: application/octet-stream
asset_name: els_dap-win32.tar.gz
asset_path: els_dap-win32.tar.gz
upload_url: "${{ steps.get_release_url.outputs.upload_url }}"
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ install: all
@ echo "Installing escript..."
@ mkdir -p '${PREFIX}/bin'
@ cp _build/default/bin/erlang_ls ${PREFIX}/bin
@ cp _build/dap/bin/els_dap ${PREFIX}/bin

.PHONY: clean
clean:
Expand Down
8 changes: 0 additions & 8 deletions apps/els_dap/include/els_dap.hrl

This file was deleted.

16 changes: 0 additions & 16 deletions apps/els_dap/src/els_dap.app.src

This file was deleted.

134 changes: 0 additions & 134 deletions apps/els_dap/src/els_dap.erl

This file was deleted.

29 changes: 0 additions & 29 deletions apps/els_dap/src/els_dap_agent.erl

This file was deleted.

29 changes: 0 additions & 29 deletions apps/els_dap/src/els_dap_app.erl

This file was deleted.

Loading

0 comments on commit a4a1200

Please sign in to comment.