Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
funkwhale
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reg
funkwhale
Commits
f5dbdd07
Verified
Commit
f5dbdd07
authored
Jun 30, 2018
by
Agate
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
See #161: compile translations in dev and when publishing artifacts
parent
8926d930
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
front/package.json
front/package.json
+2
-2
No files found.
.gitlab-ci.yml
View file @
f5dbdd07
...
@@ -22,6 +22,7 @@ review_front:
...
@@ -22,6 +22,7 @@ review_front:
-
cd front
-
cd front
script
:
script
:
-
yarn install
-
yarn install
-
yarn run i18n-compile
# this is to ensure we don't have any errors in the output,
# this is to ensure we don't have any errors in the output,
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
-
INSTANCE_URL=$REVIEW_INSTANCE_URL yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
-
INSTANCE_URL=$REVIEW_INSTANCE_URL yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
...
@@ -179,7 +180,6 @@ build_front:
...
@@ -179,7 +180,6 @@ build_front:
script
:
script
:
-
yarn install
-
yarn install
-
yarn run i18n-extract
-
yarn run i18n-compile
-
yarn run i18n-compile
# this is to ensure we don't have any errors in the output,
# this is to ensure we don't have any errors in the output,
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
...
...
front/package.json
View file @
f5dbdd07
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
"author"
:
"Eliot Berriot <contact@eliotberriot.com>"
,
"author"
:
"Eliot Berriot <contact@eliotberriot.com>"
,
"private"
:
true
,
"private"
:
true
,
"scripts"
:
{
"scripts"
:
{
"dev"
:
"node build/dev-server.js"
,
"dev"
:
"
scripts/i18n-compile.sh &&
node build/dev-server.js"
,
"start"
:
"node build/dev-server.js"
,
"start"
:
"
scripts/i18n-compile.sh &&
node build/dev-server.js"
,
"build"
:
"node build/build.js"
,
"build"
:
"node build/build.js"
,
"i18n-extract"
:
"scripts/i18n-extract.sh"
,
"i18n-extract"
:
"scripts/i18n-extract.sh"
,
"i18n-compile"
:
"scripts/i18n-compile.sh"
,
"i18n-compile"
:
"scripts/i18n-compile.sh"
,
...
...
Write
Preview
Markdown
is supported
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