Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-04 10:56:50 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-13 17:13:00 +0300
commit73918b8af9626d445f8b58faed15b32dc195ce7f (patch)
tree6eefbb1d5cd1b793de6224d635dfbb40b3271fee /build
parent3e29e0ad13b427b6ba4b62c7a35497e9a75de976 (diff)
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/vue-builds.sh54
1 files changed, 0 insertions, 54 deletions
diff --git a/build/vue-builds.sh b/build/vue-builds.sh
deleted file mode 100755
index b5198cbbc1f..00000000000
--- a/build/vue-builds.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-
-root=$(pwd)
-entryFile=$1
-
-if [ ! -f "$entryFile" ]
-then
- echo "The build file $entryFile does not exists"
- exit 2
-else
- path=$(dirname "$entryFile")
- file=$(basename $entryFile)
-
- set -e
- cd $path
- echo "Entering $path"
-
- # support for multiple chunks
- for chunk in *$file; do
-
- # Backup original file
- backupFile="$chunk.orig"
- echo "Backing up $chunk to $backupFile"
- cp $chunk $backupFile
-
- done
-
- # Make the app
- echo "Making $file"
- cd ../
- npm --silent install
- npm run --silent build
-
- # Reset
- cd $root
- cd $path
-
- # support for multiple chunks
- for chunk in *$file; do
-
- # Compare build files
- echo "Comparing $chunk to the original"
- backupFile="$chunk.orig"
- if ! diff -q $chunk $backupFile &>/dev/null
- then
- echo "$chunk build is NOT up-to-date! Please send the proper production build within the pull request"
- cat $HOME/.npm/_logs/*.log
- exit 2
- else
- echo "$chunk build is up-to-date"
- fi
-
- done
-fi