Skip to content

Commit

Permalink
Merge pull request #6 from Yara-Rules/devel
Browse files Browse the repository at this point in the history
Update Makefile
  • Loading branch information
Xumeiquer authored Mar 13, 2018
2 parents c9ed092 + 7f9b0c8 commit 51cef5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ Other way to get the binaries is compiling the project manually.

* First of all you have to compile and install Yara. Please follow the intructions [here](https://github.com/VirusTotal/yara).
* Seccond, you have to clone this repo o download it by running `go get github.com/Yara-Rules/yara-endpoint`.
* Third, you have to go to either `client` or `server` folder and then run `go get -u`.
* Fourth, build the project it self by running `make local`.
* Fourth, build the project it self by running `make local`. This will update the Go libraries before running the compile.

The final binary will be located in the build folder.

Expand Down
1 change: 1 addition & 0 deletions client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ windows-x64:
xgo -image $(DOCKER_IMAGE) -tags $(YARA_TAG) -ldflags $(LDFLAGS) -dest build -out $(OUT_NAME) -deps $(DEPS) -targets="windows/amd64" .

local:
go get -u
go build -o "$(TARGET_DIR)/$(OUT_NAME)" -ldflags $(LDFLAGS) .

clean:
Expand Down
1 change: 1 addition & 0 deletions server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ windows-x64:
xgo -image $(DOCKER_IMAGE) -tags $(YARA_TAG) -ldflags $(LDFLAGS) -dest build -out $(OUT_NAME) -deps $(DEPS) -targets="windows/amd64" .

local:
go get -u
go build -o "$(TARGET_DIR)/$(OUT_NAME)" -ldflags $(LDFLAGS) .

clean:
Expand Down

0 comments on commit 51cef5c

Please sign in to comment.