Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
aparnajyothi-y authored Oct 29, 2024
1 parent 3c9a400 commit fca9207
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
# Makefile for a web frontend project
# Makefile for building the web frontend

# Variables
BUILD_DIR = build
.PHONY: all webfrontend-build clean

# Default target
all: build
all: webfrontend-build

# Build target
build:
yarn install
yarn build
# Target for building the web frontend
webfrontend-build:
yarn install # Install dependencies
yarn build # Build the project

# Clean target
clean:
rm -rf $(BUILD_DIR)

# Test target
test:
yarn test
rm -rf build # Adjust according to your project's build output

0 comments on commit fca9207

Please sign in to comment.