-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) · 833 Bytes
/
Copy pathMakefile
File metadata and controls
23 lines (17 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: build run frontend-build package
# Frontend Build: Compiles TypeScript and builds both main and MapLibre bundles
frontend-build:
cd Blazwind.Components/frontend && npm run build
# Build: Builds frontend first, then builds the .NET solution (Examples project)
build: frontend-build
dotnet build Blazwind.Examples
# Run: Builds frontend first, then runs the Examples project
run: frontend-build
dotnet run --project Blazwind.Examples
runrep:
cd Blazwind.Components.Reporting/reporting && npm run build && cd ../.. && dotnet run --project Blazwind.Examples
buildrep:
cd Blazwind.Components.Reporting/reporting && npm run build && cd ../.. && dotnet build Blazwind.Examples
# Package: Builds frontend first, then packs the Blazwind.Components library
package: frontend-build
dotnet pack Blazwind.Components -c Release