blob: 31184582f3120ea4baf32e7a20540bea07ad2bd6 (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
  | 
# Makefile for gemini-cli
.PHONY: help install build build-sandbox build-all test lint format preflight clean start debug release run-npx create-alias
help:
	@echo "Makefile for gemini-cli"
	@echo ""
	@echo "Usage:"
	@echo "  make install          - Install npm dependencies"
	@echo "  make build            - Build the main project"
	@echo "  make build-all        - Build the main project and sandbox"
	@echo "  make test             - Run the test suite"
	@echo "  make lint             - Lint the code"
	@echo "  make format           - Format the code"
	@echo "  make preflight        - Run formatting, linting, and tests"
	@echo "  make clean            - Remove generated files"
	@echo "  make start            - Start the Gemini CLI"
	@echo "  make debug            - Start the Gemini CLI in debug mode"
	@echo ""
	@echo "  make run-npx          - Run the CLI using npx (for testing the published package)"
	@echo "  make create-alias     - Create a 'gemini' alias for your shell"
install:
	npm install
build:
	npm run build
build-all:
	npm run build:all
test:
	npm run test
lint:
	npm run lint
format:
	npm run format
preflight:
	npm run preflight
clean:
	npm run clean
start:
	npm run start
debug:
	npm run debug
run-npx:
	npx https://github.com/google-gemini/gemini-cli
create-alias:
	scripts/create_alias.sh
find-regex:
	grep regex * -r |grep -v "emoji-regex" |grep -v "ansi-regex" |grep -v "regexp" |grep -v "is-regex" |grep -v "regex-test" |grep -v "regex-range" |grep -v "shebang-regex" |grep -v "regex\." |grep -v "regexL" |grep exec |grep "regex " |grep -v "description:"
  |