github.com/marwan-at-work/consul@v1.4.5/ui-v2/GNUmakefile (about)

     1  ROOT:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
     2  
     3  all: build
     4  
     5  deps: node_modules
     6  
     7  build: deps
     8  	yarn run build
     9  
    10  start: deps
    11  	yarn run start
    12  
    13  start-api: deps
    14  	yarn run start:api
    15  
    16  test: deps
    17  	yarn run test
    18  
    19  test-view: deps
    20  	yarn run test:view
    21  
    22  lint: deps
    23  	yarn run lint:js
    24  
    25  format: deps
    26  	yarn run format:js
    27  
    28  node_modules: yarn.lock package.json
    29  	yarn install
    30  
    31  .PHONY: all deps build start test test-view lint format