Skip to content

Commit

Permalink
add icon, readme
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed May 17, 2024
1 parent f76260a commit 0eccac5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pyc
.DS_Store
node_modules
dist
6 changes: 6 additions & 0 deletions EXT-README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# tintd

A syntax highlighter for WGSL (WebGPU Shading Language).

This is an unofficial build of tintd, part of the [Dawn](https://dawn.googlesource.com/dawn)
project. This unofficial build is produced [here](https://github.com/greggman/tintd-builder).
4 changes: 4 additions & 0 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ function fixupPackageJson(filename) {
...pkg,
...vsPkg,
version: pkg.version,
publisher: 'gfx-tintd',
icon: 'tintd-128x128.png',
};
fs.writeFileSync(filename, JSON.stringify(newPkg, null, 2));
}
Expand Down Expand Up @@ -81,6 +83,8 @@ async function main() {
await buildTintD();
fixupPackageJson(`${buildPath}/package.json`);
fs.copyFileSync('third_party/dawn/LICENSE', `${buildPath}/LICENSE`);
fs.copyFileSync('EXt-README.md', `${buildPath}/README.md`);
fs.copyFileSync('resources/images/tintd-128x128.png', `${buildPath}/tintd-128x128.png`);
await packageExtension(target);
const packageName = await copyPackage(buildPath, target);
console.log('created:', packageName);
Expand Down
Binary file added resources/images/tintd-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/tintd-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0eccac5

Please sign in to comment.