feat: initialize project structure with SQLite database, crawler framework, and LLM-based JD analysis integration
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
.PHONY: all build run test clean
|
||||
|
||||
BINARY_NAME=hireme
|
||||
DB_PATH=data/db/hireme.db
|
||||
CONFIG_PATH=data/config/targets.yaml
|
||||
PORT=8080
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
@mkdir -p build data/db data/config
|
||||
GOSUMDB=off go build -o build/$(BINARY_NAME) ./cmd/hireme
|
||||
|
||||
run: build
|
||||
@mkdir -p data/db data/config
|
||||
./build/$(BINARY_NAME) --port $(PORT) --db $(DB_PATH) --target-config $(CONFIG_PATH)
|
||||
|
||||
test:
|
||||
GOSUMDB=off go test -v ./...
|
||||
|
||||
clean:
|
||||
rm -f build/$(BINARY_NAME)
|
||||
rm -rf data/db/*.db
|
||||
Reference in New Issue
Block a user