Skip to content
Closed
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: 3 additions & 1 deletion .github/scripts/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ echo "Rust $( rustc --version )"
# =============================================================================

cd "$ROOT_DIR"
yarn install
# --inline-builds causes build steps of dependencies to be logged. Useful for
# debugging certain types of CI failures.
yarn install --inline-builds
testResult=$?
if [ $testResult -ne 0 ]; then
echo "Yarn installation failed. Search for 'exit code 1' in the log for more information."
Expand Down
3 changes: 3 additions & 0 deletions packages/app-desktop/tools/bundleJs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const bundleJs = async (writeStats: boolean) => {
{ fileName: 'main-html.js', renderer: true },
];
for (const { fileName, renderer } of entryPoints) {
console.log('Bundling', fileName);
const compiler = await makeBuildContext(fileName, renderer, writeStats);
const result = await compiler.rebuild();
if (writeStats) {
Expand All @@ -106,6 +107,8 @@ const bundleJs = async (writeStats: boolean) => {
}
await compiler.dispose();
}

console.log('Finished bundling JS.');
};

export default bundleJs;