go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/milo/ui/Makefile (about)

     1  default: help
     2  
     3  help:
     4  	@echo "Available commands:"
     5  	@sed -n '/^[a-zA-Z0-9_]*:/s/:.*//p' <Makefile
     6  
     7  node_deps:
     8  	npm ci
     9  
    10  build: node_deps
    11  	npm run build
    12  
    13  # Used when building release tarballs. See
    14  # https://chromium.googlesource.com/infra/luci/luci-go/+/refs/heads/main/build/gae/milo.yaml#8
    15  release:
    16  	npm ci && npm run build
    17  
    18  test: node_deps
    19  	npm run test
    20  
    21  lint: node_deps
    22  	npx eslint ./src
    23  
    24  format: node_deps
    25  	npx eslint ./src --fix