Skip to content

Commit

Permalink
Fix language file path for Jenkins
Browse files Browse the repository at this point in the history
Jenkins seems to use a different layout of the repos than other environments.
The sub-projects are cloned inside of the `riot-web` workspace. To account for
this, we need to adjust the Riot language file path.
  • Loading branch information
jryans committed Feb 21, 2019
1 parent 62d4bb2 commit 3da0710
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/package.sh
Expand Up @@ -14,7 +14,11 @@ else
fi

npm run clean
npm run build$dev
# riot-web is at `workspace`.
# matrix-react-sdk is `workspace/node_modules/matrix-react-sdk`, but this is
# symlinked to a repo at `workspace/matrix-react-sdk`.
# To get from `workspace/matrix-react-sdk/lib` up to the lang file, we use:
RIOT_LANGUAGES_FILE="../../webapp/i18n/languages.json" npm run build$dev

# include the sample config in the tarball. Arguably this should be done by
# `npm run build`, but it's just too painful.
Expand Down

0 comments on commit 3da0710

Please sign in to comment.