Skip to content

Conversation

@saumitsAmazon
Copy link
Contributor

Description of changes:

  • Adding script for consumers to create a patched source with overrides.
  • The script takes in parameters --path: Custom build directory and defaults to ./vscode if none provided.
  • Script cleans the patched source directory, copies the third party source and apply patches and overrides on it.
  • Tested by running the command sh ${PROJ_ROOT}/aws-code-editor/scripts/patch.sh from a parent directory.

@saumitsAmazon saumitsAmazon changed the title Adding script to apply base patches and overrides Adding helper script to apply base patches and overrides Jul 2, 2025
azmkercso
azmkercso previously approved these changes Jul 2, 2025
local patched_src_dir="${1:-$(pwd)/vscode}"
echo "Creating patched source in directory: ${patched_src_dir}"

code_editor_module_path="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: could be "$(dirname "$(dirname "${BASH_SOURCE[0]}")")"

@saumitsAmazon saumitsAmazon merged commit da4c460 into aws:main Jul 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants