Removing unnecessary files (#1471)

This commit is contained in:
Salah Benmoussati 2022-08-11 14:47:23 +02:00 committed by GitHub
parent becc778c1f
commit 272e2f8096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 6 deletions

View File

@ -53,6 +53,7 @@
"uninstallDisplayName": "${productName}"
},
"files": [
"!.git${/*}",
"!coverage/*",
"!installer/*",
"!tests/*",
@ -99,7 +100,25 @@
"nsis"
],
"files": [
"!node_modules/@symphony/symphony-c9-shell${/*}"
"**/*",
"!.git${/*}",
"!**/installer${/*}",
"!node_modules/@symphony/symphony-c9-shell${/*}",
"!**/node_modules/@nornagon/cld/deps/cld${/*}",
"!**/node_modules/@nornagon/cld/build/deps${/*}",
"!**/node_modules/@nornagon/spellchecker/vendor${/*}",
"!**/*.map",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!**/node_modules/*.d.ts",
"!**/node_modules/.bin",
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
"!.editorconfig",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
"!**/{appveyor.yml,.travis.yml,circle.yml}",
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
],
"extraFiles": [
{
@ -112,7 +131,7 @@
},
{
"from": "node_modules/@symphony/symphony-c9-shell/shell",
"to": "cloud9",
"to": "cloud9/shell",
"filter": [
"**/*"
]

View File

@ -111,10 +111,6 @@ set installerDir="%CD%\installer\win"
set distDir="%CD%\dist"
set rootDir="%CD%"
echo "Move optional symphony-c9-shell files into place: " "%distDir%\win-unpacked\cloud9"
mkdir "%distDir%\win-unpacked\cloud9"
move /y "%rootDir%\node_modules\@symphony\symphony-c9-shell\shell" "%distDir%\win-unpacked\cloud9"
if NOT EXIST "%PFX_DIR%\%PFX_FILE%" (
echo "can not find .pfx file" "%pfxDir%\%pfxFile%"
exit /b -1