summaryrefslogtreecommitdiffstats
path: root/releases/old-rebuild-release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'releases/old-rebuild-release.sh')
-rwxr-xr-xreleases/old-rebuild-release.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/releases/old-rebuild-release.sh b/releases/old-rebuild-release.sh
deleted file mode 100755
index 30814c73..00000000
--- a/releases/old-rebuild-release.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-echo "Building Wekan."
-cd ~/repos/wekan
-#rm -rf packages
-#mkdir -p ~/repos/wekan/packages
-#cd ~/repos/wekan/packages
-#git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router
-#git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core
-#git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git
-#git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git
-#git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git
-#git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git
-#git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git
-#mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc
-#mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc
-#
-#if [[ "$OSTYPE" == "darwin"* ]]; then
-# echo "sed at macOS";
-# sed -i '' 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/repos/wekan/packages/meteor-useraccounts-core/package.js
-#else
-# echo "sed at ${OSTYPE}"
-# sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/repos/wekan/packages/meteor-useraccounts-core/package.js
-#fi
-#
-cd ~/repos/wekan
-rm -rf node_modules
-meteor npm install
-rm -rf .build
-meteor build .build --directory
-cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js
-#Removed binary version of bcrypt because of security vulnerability that is not fixed yet.
-#https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac
-#https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c
-#cd ~/repos/wekan/.build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
-#rm -rf node_modules/bcrypt
-#meteor npm install bcrypt
-cd ~/repos/wekan/.build/bundle/programs/server
-rm -rf node_modules
-meteor npm install
-#meteor npm install bcrypt
-cd ~/repos
-echo Building Wekan Done.