PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.6.1
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.6.1
3.6.1 3.6.0 3.5.3 3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / bin / build-zip.sh
everest-forms / bin Last commit date
build-zip.sh 11 hours ago
build-zip.sh
40 lines
1 #!/bin/sh
2
3 PLUGIN_SLUG="everest-forms"
4 PROJECT_PATH=$(pwd)
5 BUILD_PATH="${PROJECT_PATH}/build"
6 DEST_PATH="$BUILD_PATH/$PLUGIN_SLUG"
7
8 echo "Generating build directory..."
9 rm -rf "$BUILD_PATH"
10 mkdir -p "$DEST_PATH"
11
12 echo "Installing PHP and JS dependencies..."
13 npm install --legacy-peer-deps || exit "$?"
14 # --ignore-platform-reqs: composer.lock has dev-only packages (phpunit and
15 # friends) locked to versions requiring old PHP, while the actual production
16 # dependencies need a newer PHP -- no single installed PHP version can ever
17 # satisfy both at once. Composer validates the whole lock file's platform
18 # requirements up front regardless of which packages are actually going to
19 # be installed, so this is needed on both calls below, not just the --no-dev
20 # one, even though the first call still installs the dev packages that
21 # trigger the conflict.
22 composer install --ignore-platform-reqs || exit "$?"
23 echo "Running JS Build..."
24 npm run build:core || exit "$?"
25 echo "Cleaning up PHP dependencies..."
26 composer install --no-dev --ignore-platform-reqs || exit "$?"
27
28 echo "Syncing files..."
29 rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded
30
31 echo "Generating zip file..."
32 cd "$BUILD_PATH" || exit
33 zip -q -r "${PLUGIN_SLUG}.zip" "$PLUGIN_SLUG/"
34
35 cd "$PROJECT_PATH" || exit
36 mv "$BUILD_PATH/${PLUGIN_SLUG}.zip" "$PROJECT_PATH"
37 echo "${PLUGIN_SLUG}.zip file generated!"
38
39 echo "Build done!"
40