Skip to content

Commit

Permalink
all: gitignore extension directory ahead of stack of changes
Browse files Browse the repository at this point in the history
Add /extension to the .gitignore file in preparation of the introduction
of that directory later in this stack. Ignore this early so that make
changes in the stack doesn't leave that directory untracked (because in
a later CL we only ignore subdirectories of /extension, which leaves the
directory non-empty).

Also ignore VSCode workspace files - these are, for now, more of a local
thing within this repo.

Also ignore node_modules. We don't ever want to vendor these.

While we are here, establish an early .vscodeignore that should largely
mirror the .gitignore.

Signed-off-by: Paul Jolly <[email protected]>
Change-Id: I6267702b18b1319f760d5cbffef8d251cee79b70
Reviewed-on: https://review.gerrithub.io/c/cue-lang/vscode-cue/+/1200739
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Daniel Martí <[email protected]>
  • Loading branch information
myitcv committed Nov 18, 2024
1 parent b8abe22 commit 7165aaf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# This file will have significant overlap with .vscodeignore
/bin/*
/extension/
node_modules/
*.code-workspace
11 changes: 7 additions & 4 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.vscode/**
.vscode-test/**
.gitignore
vsc-extension-quickstart.md
# This section of the file will have significant overlap with .gitignore
# with the major difference that .vscodeignore cannot anchor to the root
# of the repo. Hence 'bin/' ignores _all_ directories named 'bin'.
bin/*
extension/
node_modules/
*.code-workspace

0 comments on commit 7165aaf

Please sign in to comment.