mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Replace nopt with commander.js for argument parsing (#7673)
- Replace nopt with commander.js for better command-line argument parsing - Add automatic help generation with detailed descriptions - Maintain backward compatibility with existing arguments - Remove unused nopt dependency from package.json 🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -84,7 +84,7 @@ prebuild: prereqs scripts
|
||||
|
||||
.PHONY: run-only
|
||||
run-only: node-installed ## Runs the site like it runs in production without building it
|
||||
env NODE_ENV=production $(NODE) $(NODE_ARGS) ./out/dist/app.js --webpackContent ./out/webpack/static $(EXTRA_ARGS)
|
||||
env NODE_ENV=production $(NODE) $(NODE_ARGS) ./out/dist/app.js --webpack-content ./out/webpack/static $(EXTRA_ARGS)
|
||||
|
||||
.PHONY: run
|
||||
run: ## Runs the site like it runs in production
|
||||
|
||||
Reference in New Issue
Block a user