Skip to content

Commit

Permalink
Reduce size of dist (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira authored Mar 31, 2021
1 parent 46b1995 commit 1f3954e
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 157 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/**
dist/.github/workflows
5 changes: 3 additions & 2 deletions MATCHER_NOTICE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Matchers
# Elixir Problem Matchers

Problem matchers in [elixir.json](.github/elixir.json) are adapted from [here](https://github.com/fr1zle/vscode-elixir/blob/45eddb589acd7ac98e0c7305d1c2b24668ca709a/package.json#L70-L118),
Elixir Problem Matchers in [elixir-matchers.json](.github/elixir-matchers.json)
are adapted from [here](https://github.com/fr1zle/vscode-elixir/blob/45eddb589acd7ac98e0c7305d1c2b24668ca709a/package.json#L70-L118),
available under the [MIT license](https://github.com/fr1zle/vscode-elixir/blob/45eddb589acd7ac98e0c7305d1c2b24668ca709a/LICENSE.md):

MIT License
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ if System.get_env("GITHUB_ACTIONS") do
end
```

## Matchers
## Elixir Problem Matchers

The problem matchers in this repository are adapted from [here](https://github.com/fr1zle/vscode-elixir/blob/45eddb589acd7ac98e0c7305d1c2b24668ca709a/package.json#L70-L118). See [MATCHER_NOTICE](MATCHER_NOTICE.md) for license details.
The Elixir Problem Matchers in this repository are adapted from [here](https://github.com/fr1zle/vscode-elixir/blob/45eddb589acd7ac98e0c7305d1c2b24668ca709a/package.json#L70-L118). See [MATCHER_NOTICE](MATCHER_NOTICE.md) for license details.

## License

Expand Down
File renamed without changes.
32 changes: 0 additions & 32 deletions dist/.github/workflows/ci.yml

This file was deleted.

119 changes: 0 additions & 119 deletions dist/.github/workflows/test.yml

This file was deleted.

4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4660,7 +4660,9 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
await installer.installElixir(elixirVersion)
core.setOutput('elixir-version', elixirVersion)
const matchersPath = __nccwpck_require__.ab + ".github"
console.log(`##[add-matcher]${path.join(matchersPath, 'elixir.json')}`)
console.log(
`##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`,
)
prependToPath(`${process.env.RUNNER_TEMP}/.setup-beam/elixir/bin`)
console.log('##[endgroup]')

Expand Down
4 changes: 3 additions & 1 deletion src/setup-beam.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
await installer.installElixir(elixirVersion)
core.setOutput('elixir-version', elixirVersion)
const matchersPath = path.join(__dirname, '..', '.github')
console.log(`##[add-matcher]${path.join(matchersPath, 'elixir.json')}`)
console.log(
`##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`,
)
prependToPath(`${process.env.RUNNER_TEMP}/.setup-beam/elixir/bin`)
console.log('##[endgroup]')

Expand Down

0 comments on commit 1f3954e

Please sign in to comment.