forked from google/GSCXScanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (31 loc) · 902 Bytes
/
Makefile
File metadata and controls
39 lines (31 loc) · 902 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
32
33
34
35
36
37
38
39
.PHONY: help xcode clean build test
help:
@echo "GSCXScanner Bazel Commands"
@echo ""
@echo " make xcode - Generate Xcode project"
@echo " make open - Generate and open Xcode project"
@echo " make build - Build the library"
@echo " make clean - Clean build artifacts"
@echo " make sync - Sync Bazel dependencies"
@echo ""
xcode:
@echo "Generating Xcode project..."
bazel run //xcodeproj:GSCXScanner
open: xcode
@echo "Opening Xcode project..."
open GSCXScanner.xcodeproj
build:
@echo "Building GSCXScanner..."
bazel build //:GSCXScanner
framework:
@echo "Building GSCXScanner framework..."
bazel build //:GSCXScanner_framework
xcframework:
@echo "Building GSCXScanner XCFramework..."
bazel build //:GSCXScanner_xcframework
clean:
@echo "Cleaning build artifacts..."
bazel clean
sync:
@echo "Syncing Bazel dependencies..."
bazel sync --configure