Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions config1.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"scip_index_path": "$WORKING/firefox-main/python.scip",
"scip_index_path2": "$WORKING/firefox-main/python2.scip",
"subtree_root": ""
},
"typescript": {
"scip_index_path": "$WORKING/firefox-main/typescript.scip",
"subtree_root": ""
}
},
"group": "Firefox",
Expand Down
11 changes: 11 additions & 0 deletions firefox-main/build
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,14 @@ NODE_OPTIONS="--max-old-space-size=10240" scip-python index --show-progress-rate
mv python2.scip $INDEX_ROOT

popd


echo "Performing build::scip-typescript step for $TREE_NAME : $(date +"%Y-%m-%dT%H:%M:%S%z")"
pushd "$GIT_ROOT"
npm install
# TS_PROJECTS=$(yq -r '.typescript.include | join(" ")' tools/lint/typescript.yml)
TS_PROJECTS=$(find . -name '[tj]sconfig.json' | grep -v 'node_modules\|third_party')
scip-typescript index $TS_PROJECTS
mv index.scip "$INDEX_ROOT/typescript.scip"
rm -rf node_modules
popd