From f7d65f3853b7dbc9444f26976ce345077456ea2d Mon Sep 17 00:00:00 2001 From: eight Date: Thu, 13 Feb 2020 01:53:42 +0800 Subject: [PATCH] Update BUILD.md --- BUILD.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BUILD.md b/BUILD.md index 3ee6d39c..efdd7992 100644 --- a/BUILD.md +++ b/BUILD.md @@ -5,6 +5,11 @@ 1. Install [Node.js](https://nodejs.org/en/). 2. Go to the project root, run `npm install`. This will install all required dependencies. +Extra preparations are needed if you want to pull locale files from Transifex: + +1. Install Transifex client. Follow the instructions on [this page](https://docs.transifex.com/client/installing-the-client). +2. You need a `.transifexrc` file in the root folder. Contact another admin if you need one. It includes the API key to use Transifex's API. + ## Generate the ZIP release Use the following command to generate a ZIP file that can be submitted to AMO or CWS: @@ -50,11 +55,6 @@ To push files to Transifex: npm run update-transifex ``` -Before running these commands, you need: - -1. Transifex client. Follow the instructions on [this page](https://docs.transifex.com/client/installing-the-client). -2. The `.transifexrc` file in the root folder. Contact another admin if you need one. It includes the API key to use Transifex's API. - ## 3rd-party libraries 3rd-party libraries are managed by `npm`. Since Stylus is built with vanilla JS, we only use libraries that can run in the browser.