Skip to content

chore: add Makefile, .vscodeignore and .gitignore for one-click build/package#1

Open
TheKingOfDuck wants to merge 1 commit into
overspace-labs:mainfrom
TheKingOfDuck:chore/add-build-tooling
Open

chore: add Makefile, .vscodeignore and .gitignore for one-click build/package#1
TheKingOfDuck wants to merge 1 commit into
overspace-labs:mainfrom
TheKingOfDuck:chore/add-build-tooling

Conversation

@TheKingOfDuck

Copy link
Copy Markdown

Summary

Add build tooling so the extension can be built and packaged with a single command.

Changes

  • Makefile — one-command workflow:
    • make / make package → build & package to build/*.vsix
    • make install → build, package, and install to local VSCode (code --install-extension)
    • make dist → install deps + build + package
    • make patch/minor/major → bump version & package
    • make clean → clean build artifacts (out/, webview-ui/dist/, build/)
  • .vscodeignore — keep the .vsix lean by excluding source files, node_modules, dev configs, sourcemaps, and build output. Only runtime files (out/, webview-ui/dist/, resources/, package.json, README.md) are packaged.
  • .gitignore — ignore node_modules/, build artifacts (out/, webview-ui/dist/, build/), *.vsix, lock files, .DS_Store, etc.

Verification

$ make install
... ✓ Packaged: build/hae-1.0.1.vsix (45 files, 222.51 KB)
... ✓ Extension 'hae-1.0.1.vsix' was successfully installed.

…/package

- Add Makefile: one-command build/package/install workflow
  (make / make package / make install / make dist)
- Add .vscodeignore: keep .vsix lean (exclude src, node_modules,
  dev configs, sourcemaps, build output)
- Add .gitignore: ignore node_modules, build artifacts, dist,
  lock files, .DS_Store, .vsix, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant