Skip to content

Commit d321fb7

Browse files
shivam tyagishivam tyagi
authored andcommitted
Add a Makefile to workflow
Signed-off-by: shivam tyagi <shivamtyagi@shivams-MacBook-Air.local>
1 parent c9c60db commit d321fb7

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Makefile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# .PHONY: Declares phony targets, which are commands that don't produce a file with the same name.
2+
.PHONY: install start build test clean
3+
4+
# Install project dependencies
5+
install:
6+
npm install
7+
8+
# Start the development server
9+
start:
10+
npm run dev
11+
12+
# Build the project for production
13+
build:
14+
npm run build
15+
16+
# Run project tests
17+
test:
18+
npm run test
19+
20+
# Clean up build artifacts and installed modules
21+
clean:
22+
rm -rf dist node_modules

0 commit comments

Comments
 (0)