forked from Velocidex/SQLiteHunter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (13 loc) · 670 Bytes
/
Makefile
File metadata and controls
20 lines (13 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
all: build windows
build:
go build -o sqlitehunter_compiler ./bin/*.go
windows:
GOOS=windows GOARCH=amd64 \
go build -o sqlitehunter_compiler.exe ./bin/*.go
compile: FORCE
go run ./bin/ compile ./definitions/ ./output/SQLiteHunter.yaml --output_zip ./output/SQLiteHunter.zip --index ./docs/content/docs/rules/index.json && cp ./output/SQLiteHunter.yaml ./docs/static/artifact/
verify: compile
./testing/velociraptor.bin -v artifacts verify ./output/*.yaml --builtin
golden: compile
./testing/velociraptor.bin --definitions ./output --config ./testing/test.config.yaml golden --env testFiles=`pwd`/test_files ./testing/testcases -v --filter=${GOLDEN}
FORCE: