Skip to content

Commit c5dfbfc

Browse files
authored
Update build command docs after dependency change (mozilla#2373)
1 parent ace0e2b commit c5dfbfc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Once you are done adding, removing or updating requirements, rebuild your docker
244244

245245
.. code-block:: shell
246246
247-
$ make build
247+
$ make build-server
248248
249249
If there are problems, it'll tell you.
250250

frontend/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ To add a new dependency, run the following commands:
113113
cd ..
114114

115115
# Rebuild the Pontoon image so that it has the new dependencies.
116-
make build
116+
make build-frontend
117117
```
118118

119119
To upgrade dependency to a specific version, run the following commands:
@@ -126,7 +126,7 @@ To upgrade dependency to a specific version, run the following commands:
126126
cd ..
127127

128128
# Rebuild the Pontoon image so that it has the upgraded dependencies.
129-
make build
129+
make build-frontend
130130
```
131131

132132
Note that, in order to add new dependencies, you need to have `yarn` installed and perform the actions locally (outside docker). You might want to remove the `node_modules` folder after you've run the install or update command (and the `package.json` and `yarn.lock` files have been updated) and before rebuilding the image, to reduce the size of the docker context.

0 commit comments

Comments
 (0)