Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update instructions to generate icon font

Christophe Bliardaadfa898d002
diff --git a/frontend/src/app/spot/icon-font/README.md b/frontend/src/app/spot/icon-font/README.md
index 2d39a5ba80a..6edf1555cc7 100644
--- a/frontend/src/app/spot/icon-font/README.md
+++ b/frontend/src/app/spot/icon-font/README.md
@@ -12,14 +12,17 @@ This license can also be found at this permalink: http://creativecommons.org/lic
## Structure
-This directory is the source for the generated icon font in the Rails `frontend/src/global_styles/fonts` directory.
+This directory is the source for the generated icon font in the Rails
+`frontend/src/global_styles/fonts` directory.
+
Since it seldomly changes, it is only rebuilt manually and on demand.
## Rebuilding
-To rebuild the font (e.g., after changing icons in the source `src/` directory under this README), use the node script `generate.js`.
+To rebuild the font (e.g., after changing icons in the source `src/` directory
+under this README), use the npm task `icon-font:generate`.
```
-$ cd frontend/src/app/spot/icon-font/
-$ node generate.js
-```
\ No newline at end of file
+$ cd frontend
+$ npm run icon-font:generate
+```