Skip to content

Commit

Permalink
Place builds in a 'builds' sub directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-soderman committed Oct 23, 2022
1 parent 22fc378 commit a9c30e2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
out
src/test
test.bat
*.vsix
builds
*.vsix
test.bat
3 changes: 2 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ vsc-extension-quickstart.md
build-scripts

test.bat
media/demo
media/demo
builds
9 changes: 8 additions & 1 deletion build-scripts/build.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
cd "%~dp0../"
rmdir /S /Q "./out/"
vsce package

@REM Make sure the out builds directory exists
set OutDir="./builds/"
if not exist %OutDir% (
mkdir %OutDir%
)

vsce package --out %OutDir%

0 comments on commit a9c30e2

Please sign in to comment.