Plugin for WordPress that displays the mood, music, and location fields as imported by the LiveJournal importer at the end of each post.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
lj-moods/packagezip.sh

21 lines
403 B

#!/bin/bash
echo "Removing old build folder and zip if present"
if test -d build/lj-moods; then
rm -rf build/lj-moods
fi
if test -f build/lj-moods.zip; then
rm build/lj-moods.zip
fi
echo "Copying files to build folder"
if [ ! -d build ]; then
mkdir build
fi
mkdir build/lj-moods
cp -p *.php *.txt *.md LICENSE build/lj-moods
echo "Building lj-moods.zip"
cd build && zip -r lj-moods.zip lj-moods