Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup build script for automated build enviroment. #119

Merged
merged 1 commit into from
Apr 15, 2024
Merged
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
5 changes: 3 additions & 2 deletions scripts/commands/update-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ if [ ! -d "$TEMP_DIR/codepage" ]; then
rm -rf "$TEMP_DIR/codepage"
git clone "https://git.sheetjs.com/sheetjs/js-codepage.git" "$TEMP_DIR/codepage"
fi
pushd "$TEMP_DIR/codepage"
CUR_DIR ="$PWD"
cd "$TEMP_DIR/codepage"
printf '%s\n' "Building codepage dependency..." | tee -a $LOG_FILE
git pull 2>&1 | tee -a $LOG_FILE
make 2>&1 | tee -a $LOG_FILE
Expand All @@ -16,4 +17,4 @@ cat "$TEMP_DIR/codepage.js" "$TEMP_DIR/codepage/cputils.js" | sed "s#require\('.
printf '%s\n' '}).call(sabre);' >> "$PROJECT_SOURCE_DIR/lib/codepage.js"
rm -f "$TEMP_DIR/codepage.js"
printf '%s\n' "Finished building codepage dependency." | tee -a $LOG_FILE
popd
cd "$CUR_DIR"