From f9cdd7cc3b4ec84b00b1e61d52e05df42061ecc9 Mon Sep 17 00:00:00 2001 From: Wesley Shields Date: Fri, 15 Oct 2021 17:08:53 -0400 Subject: [PATCH] Update .gitignore and cleanup Makefile (#39) Update the .gitignore files to include *.swp and j2y. While here, also fixup the Makefile as the release target is broken. It depends upon two targets (parser and lexer) that do not exist. I'm guessing this Makefile is not really used and is a holdover from the Northern-Lights repo? --- .gitignore | 4 +++- Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 634f103..2dcb681 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,9 @@ +*.swp y2j +j2y !y2j/ y2j-linux y2j-mac y2j.exe y.output -yara-parser \ No newline at end of file +yara-parser diff --git a/Makefile b/Makefile index 21cbcd2..c9e98d9 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ j2y: y2j: go build github.com/VirusTotal/gyp/cmd/y2j -release: parser lexer +release: GOOS=linux go build -o y2j-linux github.com/VirusTotal/gyp/cmd/y2j GOOS=darwin go build -o y2j-mac github.com/VirusTotal/gyp/cmd/y2j GOOS=windows go build -o y2j.exe github.com/VirusTotal/gyp/cmd/y2j