• Resolved Joshua David Nelson

    (@joshuadnelson)


    Hello,

    I manage sites using git to track changes, including plugins & WP core. This plugin ships with a .gitignore file that ignores the vendor and dist folders. It would appear at least the vendor is needed, and without that it throws a fatal error.

    Could you remove all the items needed for the plugin to run from the .gitignore file?

    Thanks,
    Joshua

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Gaya Kessler

    (@clevernode)

    Hi Joshua,

    I leave these out because vendor and dist are generated from the source and what you find in GitHub is the source, and not the generated product.

    Including vendor and dist would mean that I ship generated code to my version control, which I do not want.

    You can find releases at https://github.com/Gaya/ab-testing-for-wp/releases, these contain everything you’d need to run the plugin and still allow you to keep updated through GitHub.

    It might also not be a good idea to sync my plugin through GitHub as master does not always reflect the latest release and might contain work in progress code.

    Hope this helps.

    Gaya

    Thread Starter Joshua David Nelson

    (@joshuadnelson)

    Ah, thanks, makes sense. Appreciate the follow up!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.gitignore in plugin ignoring needed subfolders’ is closed to new replies.