Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix relative path execution #337

Merged
merged 21 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
- name: install-nodejs
uses: actions/setup-node@v1
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 15.x
node-version-file: ".nvmrc"
cache: npm
- uses: bufbuild/buf-setup-action@v1
- name: install-deps
run: make install
- name: test-with-xvfb
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.8.0
9 changes: 9 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from "@vscode/test-cli";

export default defineConfig([
{
label: "unitTests",
files: "out/test/**/*.test.js",
workspaceFolder: "./test-workspaces/npm-buf-workspace",
},
]);
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for detailed installation instructions.

This extension contributes the following settings:

- `buf.binaryPath`: configure the path to your buf binary. By default it uses `buf` in your `$PATH`.
- `buf.binaryPath`: configure the path to your buf binary. By default it uses `buf` in your `$PATH`. Starting with a `.` means it will be relative to the workspace. If, for example, you want to use buf installed via npm, you can set this to `./node_modules/.bin/buf`.

## Changelog

Expand Down
Loading
Loading