From c658a4e1b6265beda6e88de23cc885d0c2157828 Mon Sep 17 00:00:00 2001
From: Ruben Davila <rdavila84@gmail.com>
Date: Fri, 5 May 2017 11:19:00 -0500
Subject: [PATCH] Add script to process Gettext's PO files and generate MO
 files

---
 Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3d35592..5073eea 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ all: gitlab-setup gitlab-shell-setup gitlab-workhorse-setup support-setup gitaly
 
 # Set up the GitLab Rails app
 
-gitlab-setup: gitlab/.git gitlab-config bundler .gitlab-bundle yarn .gitlab-yarn
+gitlab-setup: gitlab/.git gitlab-config bundler .gitlab-bundle yarn .gitlab-yarn .gettext
 
 gitlab/.git:
 	git clone ${gitlab_repo} gitlab
@@ -55,6 +55,10 @@ gitlab/public/uploads:
 	cd ${gitlab_development_root}/gitlab && yarn install --pure-lockfile
 	touch $@
 
+.gettext:
+	cd ${gitlab_development_root}/gitlab && bundle exec rake gettext:pack
+	touch $@
+
 .PHONY:	bundler
 bundler:
 	command -v $@ > /dev/null || gem install $@
@@ -323,3 +327,4 @@ unlock-dependency-installers:
 	.gitlab-bundle \
 	.gitlab-shell-bundle \
 	.gitlab-yarn
+	.gettext
-- 
GitLab