github.com/Theta-Dev/Talon@v0.0.0-20211018130634-ff179e19fa9a/Makefile (about)

     1  SRC_DIR=./src
     2  SCRIPT_DIR=./scripts
     3  UI_MENU_DIR=./ui/menu
     4  
     5  setup:
     6  	go get -t ./...
     7  	cd ${UI_MENU_DIR} && npm install
     8  
     9  go-lint:
    10  	golangci-lint run
    11  
    12  js-lint:
    13  	cd ${UI_MENU_DIR} && npm run ci
    14  
    15  lint: go-lint js-lint
    16  
    17  test:
    18  	${SCRIPT_DIR}/test_run.sh
    19  
    20  clean:
    21  	${SCRIPT_DIR}/test_down.sh
    22  	rm -rf ${UI_MENU_DIR}/dist