From 00e8822809c9461b4c6f7c646a29102e6c788752 Mon Sep 17 00:00:00 2001 From: Jeff Poirier Date: Wed, 21 Aug 2024 01:16:56 +0000 Subject: [PATCH] added build bootstrap files for *nix and DOS --- build.bat | 20 ++++++++++++++++++++ build.sh | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 build.bat create mode 100755 build.sh 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 " / ____/ />