-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (23 loc) · 810 Bytes
/
Makefile
File metadata and controls
28 lines (23 loc) · 810 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
.PHONY: help
help:
@echo "Available targets:"
@echo " dev - Start all dev servers in parallel (docs, examples/basic, packages/nuclo-core)"
@echo " install - Install dependencies for all packages"
@echo " up - Upgrade all dependencies to latest"
@echo ""
@echo "To publish docs, run: make publish from the docs/ directory"
.PHONY: dev install up
install:
cd packages/nuclo-core && bun install && \
cd ../../examples/basic && bun install && \
cd ../../docs && bun install
up:
cd packages/nuclo-core && bun update --latest && \
cd ../../examples/basic && bun update --latest && \
cd ../../docs && bun update --latest
dev:
@echo "Starting all dev servers in parallel..."
@(cd packages/nuclo-core && bun dev) & \
(cd examples/basic && bun dev) & \
(cd docs && bun dev) & \
wait