Skip to content

Fix the build process#1680

Merged
bartoszgadomski merged 7 commits intodevelopfrom
fix/build-process
Jan 16, 2025
Merged

Fix the build process#1680
bartoszgadomski merged 7 commits intodevelopfrom
fix/build-process

Conversation

@bartoszgadomski
Copy link
Member

@bartoszgadomski bartoszgadomski commented Jan 15, 2025

The build directory is excluded in the build pipeline, which causes the fatal error:

screen_shot_2025-01-15_at_13 01 46

Checklist

  • Project documentation has been updated to reflect the changes in this pull request, if applicable.
  • I have tested the changes in the local development environment (see contributing.md).
  • I have added phpunit tests.

Release Changelog

  • Fix: Issue with excluding the build directory in the build pipeline

ROOT_DIR="$(git rev-parse --show-toplevel)"
WORKING_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
SRC_DIR="$ROOT_DIR/build"
SRC_DIR="$ROOT_DIR/source"
Copy link
Member Author

Choose a reason for hiding this comment

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

We can't use the build directory, as this one is reserved for the files generated by the npm run build command.

@bartoszgadomski bartoszgadomski marked this pull request as ready for review January 15, 2025 19:48
@bartoszgadomski bartoszgadomski merged commit eb1793a into develop Jan 16, 2025
@bartoszgadomski bartoszgadomski deleted the fix/build-process branch January 16, 2025 10:51
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.

1 participant