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

Vorgeschlagene Änderungen Toolchain #1435

Closed
wants to merge 2 commits into from
Closed

Conversation

hansmorb
Copy link
Contributor

Hier mal in einem PR, damit wir den Branch nicht vergessen. Beizeiten diskutieren.

The only way to create the commonsbooking.zip Wordpress Plugin archive
locally was by calling the zipdist.sh script. Unfortunately, this script
doesn’t contain any logic on how to build the actual plugin but knows
only which directories and files to zip.

This made reliable and somewhat reproducible builds from experimental
code branches difficult.

This commit introduces a Makefile with the following targets:

  * build
    Builds the commonsbooking plugin archive in the local environment.
  * build-in-docker
    Builds the commonsbooking plugin archive in a docker container,
    therefore isolating the build process.
  * clean
    Removes any built, generated, or downloaded files.

The targets can be called with `make TARGET_NAME`.
This should make it easy to test changes locally.
@hansmorb
Copy link
Contributor Author

@kmohrf Gibt es nen Grund warum in dem Makefile so umständlich die zu inkludierenden Dateien definiert werden und nicht einfach die .distignore genommen wird? Oder noch einfacher, die bin/build-zip.sh ?

@hansmorb
Copy link
Contributor Author

Ich schließe den PR mal. Es ist nicht verloren aber bisher wurde es auch nicht gebraucht. Eigentlich haben wir alles mit wp-env organisiert.

@hansmorb hansmorb closed this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants