Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ transifex_input = $(i18n)/transifex_input.json
# This directory must match .babelrc .
transifex_temp = ./temp/babel-plugin-formatjs

# Variables for additional translation sources and imports
ATLAS_EXTRA_SOURCES ?=
ATLAS_EXTRA_INTL_IMPORTS ?=
ATLAS_OPTIONS ?=

build:
rm -rf ./dist
./node_modules/.bin/fedx-scripts babel src --out-dir dist --source-maps --ignore **/*.test.jsx,**/*.test.js,**/setupTest.jsx --copy-files
Expand Down Expand Up @@ -45,9 +50,10 @@ pull_translations:
&& atlas pull $(ATLAS_OPTIONS) \
translations/frontend-platform/src/i18n/messages:frontend-platform \
translations/paragon/src/i18n/messages:paragon \
translations/frontend-plugin-notifications/src/i18n/messages:frontend-plugin-notifications
translations/frontend-plugin-notifications/src/i18n/messages:frontend-plugin-notifications \
$(ATLAS_EXTRA_SOURCES)

$(intl_imports) frontend-platform paragon frontend-plugin-notifications
$(intl_imports) frontend-platform paragon frontend-plugin-notifications $(ATLAS_EXTRA_INTL_IMPORTS)

validate-no-uncommitted-package-lock-changes:
# Checking for package-lock.json changes...
Expand Down