UNPKG

wp-jet-fuel

Version:

Facilitates the addition of custom functionality to a WordPress website, including Custom Post Types, Meta Fields, Widgets, Taxonomies, Shortcodes, Admin Modificaitons, etc.

30 lines (24 loc) 824 B
<?xml version="1.0" encoding="UTF-8"?> <project name="JetFuel" default="build" basedir="."> <property name="php_bin_path" value="/usr/local/bin"/> <target name="build"> <phingcall target="prepare"/> <phingcall target="composer"/> <phingcall target="transfer"/> </target> <target name="prepare"> <delete dir="dist"/> <mkdir dir="dist"/> </target> <target name="composer"> <exec passthru="true" checkreturn="false" command="php ${php_bin_path}/composer.phar update --no-dev --optimize-autoloader --prefer-dist --no-interaction"/> </target> <target name="transfer"> <copy todir="dist"> <fileset dir="vendor"> <include name="autoload.php"></include> <include name="composer/**.php"></include> </fileset> </copy> </target> </project>