diff --git a/.gitignore b/.gitignore index e9d30d7..2eea41a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.pyc .DS_Store node_modules +dist diff --git a/EXT-README.md b/EXT-README.md new file mode 100644 index 0000000..0a4fee4 --- /dev/null +++ b/EXT-README.md @@ -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). diff --git a/build/build.js b/build/build.js index 34c917f..d93c4e5 100644 --- a/build/build.js +++ b/build/build.js @@ -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)); } @@ -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); diff --git a/resources/images/tintd-128x128.png b/resources/images/tintd-128x128.png new file mode 100644 index 0000000..df679bd Binary files /dev/null and b/resources/images/tintd-128x128.png differ diff --git a/resources/images/tintd-256x256.png b/resources/images/tintd-256x256.png new file mode 100644 index 0000000..df679bd Binary files /dev/null and b/resources/images/tintd-256x256.png differ