diff --git a/build.bat b/build.bat new file mode 100644 index 000000000..3c3241ec5 --- /dev/null +++ b/build.bat @@ -0,0 +1,20 @@ +@echo off + +echo. +echo ____ _ ______ __ +echo / __ \(_) _____ / / __/__ ____/ / +echo / /_/ / / ^|/_/ _ \/ / /_/ _ \/ __ / +echo / ____/ /^> ^nul 2>nul +IF %ERRORLEVEL% NEQ 0 ( + echo !!! PHP command-line executable was not found in the current path. + echo It is required in order to build Pixelfed. + echo. + exit 255 +) + +php ./vendor/phing/phing/bin/phing %* diff --git a/build.sh b/build.sh new file mode 100755 index 000000000..298262035 --- /dev/null +++ b/build.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +echo "" +echo " ____ _ ______ __ " +echo " / __ \(_) _____ / / __/__ ____/ / " +echo " / /_/ / / |/_/ _ \/ / /_/ _ \/ __ / " +echo " / ____/ />