[DRE-commits] [gitlab] 01/01: remove npm pulled webpack

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Sep 9 16:48:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master-9.2
in repository gitlab.

commit 28a56219740bf02c4f1ec99ad0b63960d923d4a2
Author: Pirate Praveen <praveen at debian.org>
Date:   Sat Sep 9 22:17:18 2017 +0530

    remove npm pulled webpack
---
 debian/rake-tasks.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh
index 5c02036..65820c1 100755
--- a/debian/rake-tasks.sh
+++ b/debian/rake-tasks.sh
@@ -30,6 +30,7 @@ runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules'
 runuser -u ${gitlab_user} -- sh -c 'npm install'
 runuser -u ${gitlab_user} -- sh -c 'ln -s /usr/lib/nodejs/exports-loader node_modules'
 runuser -u ${gitlab_user} -- sh -c 'ln -s /usr/lib/nodejs/raw-loader node_modules'
+runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack'
 runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js'
 
 echo "Precompiling assets..."

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list