Skip to content

Commit

Permalink
Restructuring for WordPress directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kamermans committed Mar 25, 2020
1 parent 0ab6355 commit 97d85af
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.php_cs*
*.zip
*.phar
svn/
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: % dist
.PHONY: % dist-clean dist make-zip svn

dist-clean:
rm -rf dist/image_cdn
Expand All @@ -7,6 +7,10 @@ dist: dist-clean make-zip

make-zip:
mkdir -p dist/image_cdn
cp -v -r *.php *.txt ImageEngine assets templates dist/image_cdn/
cp -v -r *.php *.txt imageengine assets templates dist/image_cdn/
cd dist && zip -9 -r image-cdn-0.0.0.zip image_cdn
rm -rf dist/image_cdn

svn:
cp -v -r plugin-assets/* svn/assets/
cp -v -r *.php *.txt imageengine assets templates svn/trunk
File renamed without changes.
Binary file added plugin-assets/banner-1544x500-rtl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin-assets/banner-1544x500.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin-assets/banner-772x250-rtl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin-assets/banner-772x250.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin-assets/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugin-assets/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This plugin works by rewriting the URLs to your assets (images, javascript, css,

= System Requirements =

* PHP >=7.0
* PHP >=5.6
* WordPress >=4.6

= Contribute =
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* Manually load the plugin being tested.
*/
function _manually_load_plugin() {
require dirname( dirname( __FILE__ ) ) . '/image-cdn.php';
require dirname( dirname( __FILE__ ) ) . '/bootstrap.php';
}
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );

Expand Down

0 comments on commit 97d85af

Please sign in to comment.