File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ namespace Appsero ;
3+
4+ /**
5+ * Temp replacement for the Updater.php class
6+ * to allow the plugin to pass WordPress.org
7+ * review process until Appsero has a formal solution.
8+ *
9+ * This file is used to replace the Updater.php class in the Appsero vendor dep after
10+ * composer install is run, before the plugin is bundled as a .zip
11+ *
12+ * see: https://github.com/Appsero/client/issues/34
13+ */
14+ class Updater {}
Original file line number Diff line number Diff line change 7373 ],
7474 "build-app" : " @docker-build -a" ,
7575 "build-test" : " @docker-build -t" ,
76- "build-plugin" : " composer install --no-dev && composer run-script zip && composer install" ,
76+ "build-plugin" : [
77+ " composer install --no-dev" ,
78+ " rm ./vendor/appsero/client/src/Updater.php" ,
79+ " cp ./build/Updater.php ./vendor/appsero/client/src/" ,
80+ " composer run-script zip" ,
81+ " composer install"
82+ ],
7783 "run-app" : " @docker-run -a" ,
7884 "run-test" : " @docker-run -t" ,
7985 "lint" : " vendor/bin/phpcs" ,
You can’t perform that action at this time.
0 commit comments