File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -203,14 +203,16 @@ install: ## Open a Web Browser to the installation procedure
203203# Follow ./glances/outputs/static/README.md for more information
204204# ===================================================================
205205
206+ webui webui% : DIR = glances/outputs/static/
207+
206208webui : # # Build the Web UI
207- cd glances/outputs/static/ && npm ci && npm run build
209+ cd $( DIR ) && npm ci && npm run build
208210
209211webui-audit : # # Audit the Web UI
210- cd glances/outputs/static/ && npm audit
212+ cd $( DIR ) && npm audit
211213
212214webui-audit-fix : # # Fix audit the Web UI
213- cd glances/outputs/static/ && npm audit fix && npm ci && npm run build
215+ cd $( DIR ) && npm audit fix && npm ci && npm run build
214216
215217# ===================================================================
216218# Packaging
You can’t perform that action at this time.
0 commit comments