Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marcin Mikołajczak
funkwhale
Commits
f5dbdd07
Verified
Commit
f5dbdd07
authored
Jun 30, 2018
by
Eliot Berriot
Browse files
See
#161
: compile translations in dev and when publishing artifacts
parent
8926d930
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f5dbdd07
...
...
@@ -22,6 +22,7 @@ review_front:
-
cd front
script
:
-
yarn install
-
yarn run i18n-compile
# this is to ensure we don't have any errors in the output,
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
-
INSTANCE_URL=$REVIEW_INSTANCE_URL yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
...
...
@@ -179,7 +180,6 @@ build_front:
script
:
-
yarn install
-
yarn run i18n-extract
-
yarn run i18n-compile
# this is to ensure we don't have any errors in the output,
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
...
...
front/package.json
View file @
f5dbdd07
...
...
@@ -5,8 +5,8 @@
"author"
:
"Eliot Berriot <contact@eliotberriot.com>"
,
"private"
:
true
,
"scripts"
:
{
"dev"
:
"node build/dev-server.js"
,
"start"
:
"node build/dev-server.js"
,
"dev"
:
"
scripts/i18n-compile.sh &&
node build/dev-server.js"
,
"start"
:
"
scripts/i18n-compile.sh &&
node build/dev-server.js"
,
"build"
:
"node build/build.js"
,
"i18n-extract"
:
"scripts/i18n-extract.sh"
,
"i18n-compile"
:
"scripts/i18n-compile.sh"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment