Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed May 17, 2024
1 parent 5ea7dfa commit ba24acd
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ for [WGSL](https://gpuweb.github.io/gpuweb/wgsl/), the WebGPU Shading Language.

This updates to the latest dawn and depot_tools

```
```sh
npm ci
npm run update
```
Expand All @@ -24,7 +24,7 @@ To publish

2. Push the patch

```
```sh
git push --tag origin main
```

Expand All @@ -37,17 +37,28 @@ To publish

Step 4 assumes you've gone through steps [here](https://code.visualstudio.com/api/working-with-extensions/publishing-extension), setup an Azure account, created an organization, created a personal access token, and logged in from the command line. You can log in with

```
```sh
npm run login <your-publisher-id>
```

Then run `npm run publish`

# Building on all supported platforms

Push a new version. Check the github actions. You should see build artifacts
added to the bottom of the latest action run. You can manually install an
extension by downloading the `.vsix` file for your platform and then
running

```sh
code --install-extensions path-to-file.vsix
```

# Building

This builds for the local OS (win64,macOS-arm,linux)

```
```sh
npm ci
npm run build
```
Expand Down Expand Up @@ -84,7 +95,7 @@ as it makes it easy to switch versions.
Before running the build script above you need to install
the following dependencies

```
```sh
sudo apt-get install cmake libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev mesa-common-dev libx11-xcb-dev pkg-config
```

Expand Down

0 comments on commit ba24acd

Please sign in to comment.