-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 1.1 KB
/
Makefile
File metadata and controls
38 lines (28 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.DEFAULT_GOAL := help
SHELL := /bin/bash
PROJECT_NAME := brainbox-frontend
PROJECT_DIR=$(shell pwd)
.PHONY: clean help install test shell
help: ## Display all callable targets.
@echo =========================================================================
@echo "Project name: $(PROJECT_NAME)"
@echo =========================================================================
@echo
@echo "Commands Description"
@echo =========================================================================
@egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
@echo =========================================================================
setup: ## Set up your developement environment
code --uninstall-extension glenn2223.live-sass
install: ## Install dependencies
npm install
build: ## Build the project
npm run build
clean: ## Clean files
npm cache clean --force
deep-clean: ## Delete all node_modules and re-install them
npm cache clean --force
rm -rf .next
rm -rf build
rm -rf node_modules
npm install