chore: put image files in correct folders

This commit is contained in:
Ben Goldsworthy 2021-04-25 16:28:10 +01:00
parent f5cc076250
commit eeef8b26c9
2 changed files with 1 additions and 5 deletions

View file

@ -6,11 +6,7 @@ echo "Building Plugin..."
echo "Copying directories..." echo "Copying directories..."
rm -rf dist/ rm -rf dist/
mkdir dist mkdir dist
cp -r -t dist src/{class,languages,templates}/ cp -r -t dist src/{class,languages,templates,img}/
# Among the images, only 2 out of 3 are distributed.
echo "Copying the needed images..."
mkdir -p dist/img
cp -t dist/img src/img/fn-wysiwyg.png
echo "Copying files..." echo "Copying files..."
cp -t dist ./{SECURITY.md,CHANGELOG.md,wpml-config.xml} src/{license.txt,readme.txt,includes.php} cp -t dist ./{SECURITY.md,CHANGELOG.md,wpml-config.xml} src/{license.txt,readme.txt,includes.php}
echo "Setting production flag..." echo "Setting production flag..."

View file

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Before After
Before After