mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-21 16:38:41 -06:00
Removing unnecessary files (#1471)
This commit is contained in:
parent
becc778c1f
commit
272e2f8096
23
package.json
23
package.json
@ -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": [
|
||||
"**/*"
|
||||
]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user