Skip to content

Commit 7528444

Browse files
committed
Update install.sh to generate License
1 parent cce0dce commit 7528444

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

scripts/install.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ PROJ_ROOT=$(pwd)
99
# Clean out patches
1010
printf "\n======== Cleaning out patches ========\n"
1111
quilt pop -a
12+
rm -rf .pc
1213

1314
# empty vscode module
1415
printf "\n======== Delete data is vs code module if present ========\n"
@@ -31,6 +32,15 @@ printf "\n======== Applying patches ========\n"
3132
exit 1
3233
}
3334

35+
36+
# Generate Licenses
37+
printf "\n======== Generate Licenses ========\n"
38+
cd ${PROJ_ROOT}/vscode
39+
cp LICENSE.txt LICENSE.vscode.txt
40+
cp ThirdPartyNotices.txt LICENSE-THIRD-PARTY.vscode.txt
41+
cp ../LICENSE-THIRD-PARTY .
42+
cd ${PROJ_ROOT}
43+
3444
# Comment out breaking lines in postinstall.js
3545
printf "\n======== Comment out breaking git config lines in postinstall.js ========\n"
3646
sh ${PROJ_ROOT}/scripts/postinstall.sh
@@ -48,6 +58,6 @@ printf "\n======== Deleting vscode/node_modules ========\n"
4858
rm -rf "${PROJ_ROOT}/vscode/node_modules"
4959

5060
# Build the project
51-
#printf "\n======== Building project in ${PROJ_ROOT}/vscode ========\n"
61+
printf "\n======== Building project in ${PROJ_ROOT}/vscode ========\n"
5262
yarn --cwd "${PROJ_ROOT}/vscode" install --pure-lockfile --verbose
5363
yarn --cwd "${PROJ_ROOT}/vscode" download-builtin-extensions

0 commit comments

Comments
 (0)