-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (26 loc) · 1003 Bytes
/
Makefile
File metadata and controls
31 lines (26 loc) · 1003 Bytes
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
# Makefile
# description: Build, lint, and run tasks for the essentials project
# author: Matt Norris <matnorri@cisco.com>
.PHONY: help lint-javascript lint-js install-javascript install-js test-javascript test-js
# Default target - show help
help:
@echo "Available targets:"
@echo " lint-javascript (lint-js) - Lint JavaScript packages"
@echo " test-javascript (test-js) - Test JavaScript packages"
@echo " install-javascript (install-js) - Install JavaScript dependencies"
@echo " help - Show this help message"
# Lint JavaScript packages
lint-javascript: lint-js
lint-js:
@echo "Linting JavaScript packages..."
@cd packages/javascript && npm run lint
# Test JavaScript packages
test-javascript: test-js
test-js:
@echo "Testing JavaScript packages..."
@cd packages/javascript && npm test
# Install JavaScript dependencies
install-javascript: install-js
install-js:
@echo "Installing JavaScript dependencies..."
@cd packages/javascript && npm install