-
Notifications
You must be signed in to change notification settings - Fork 7
Start CI! #50
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
Start CI! #50
Conversation
|
Do you have capacity to follow WPCS or PSR-12? If yes please remove |
|
Also PHPStan level 0 is for broken software, 2 or 4 looks normal :) |
|
Done. All green 🍏 If would exclude these files from the ZIP then .gitattributes should be edited. |
|
Awesome. But I think I'd rather use PSR-12 coding standards rather the WP ones (I'm more accustomed to those I think). Is that an easy change? |
|
Done. Coding style is a habit of Mike :) |
|
Yeah those coding standards look more like what I'm already doing, great. I'd like to avoid accidentally committing all these composer files to the git repo, and the WordPress SVN repo. so the git repo will ignore everything in the vendor folder except composer's autoloader, but then I noticed the files in And for the SVN repo, it will be a bit of a pain to SVN ignore all the files (and I'm sure I'll forget to manually remove them). How would you suggest preventing accidentally committing the files in |
Yes!
|
|
When you release your plugin you may upload the built ZIP to GitHub releases. |
|
I think I’m going to wang to use Gulp for building, as I’m hoping to add Freemius integration and there’s a gulp-Freemius package https://freemius.com/help/documentation/selling-with-freemius/deployment/ |
|
As far as I know the only thing to build/generate is the Composer autoloader. |
|
Oh right— the other built things are just necessary for running those automated tests which Travis is already doing, so I don’t even need to run those locally... |
|
FYI this got an honourable mention in my monthly transparency report: https://cmljnelson.blog/2020/02/04/print-my-blog-transparency-report-january-2020/#autoloading-and-code-cleanup-with-viktor-svepe |
|
Thank you Mike. |
|
@mnelson4 Could you put a hotfix on my name? |
|
hotfix released! My apologies... admittedly a lot of my blogging has recently happened at 5am...😝 |

@mnelson4 Here you go! :)
Closes #44