Skip to content

Commit 66b5cd2

Browse files
committed
Added windows-debug to release assets
1 parent 6f9bf62 commit 66b5cd2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ $(shell mkdir -p ${DIR})
8181
default:
8282
go build -trimpath ${LDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR}/${MAGENT} ./main.go
8383

84-
all: windows linux darwin
84+
all: windows windows-debug linux darwin
8585

8686
# Compile Agent - Windows x64
8787
windows:
8888
export GOOS=windows GOARCH=amd64;go build -trimpath ${WINAGENTLDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR}/${MAGENT}-${W}.exe ./main.go
8989

9090
# Compile Agent - Windows x64 Debug (Can view STDOUT)
9191
windows-debug:
92-
export GOOS=windows GOARCH=amd64;go build -trimpath ${LDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR}/${MAGENT}-Debug-${W}.exe ./main.go
92+
export GOOS=windows GOARCH=amd64;go build -trimpath ${LDFLAGS} ${GCFLAGS} ${ASMFLAGS} -o ${DIR}/${MAGENT}-${W}-Debug.exe ./main.go
9393

9494
# Compile Agent - Windows x64 with Garble - The SEED must be the exact same that was used when compiling the server
9595
# Garble version 0.5.2 or later must be installed and accessible in the PATH environment variable
@@ -135,6 +135,10 @@ package-windows:
135135
${PACKAGE} ${DIR}/${MAGENT}-${W}.7z ${F}
136136
cd ${DIR};${PACKAGE} ${MAGENT}-${W}.7z ${MAGENT}-${W}.exe
137137

138+
package-windows-debug:
139+
${PACKAGE} ${DIR}/${MAGENT}-${W}-Debug.7z ${F}
140+
cd ${DIR};${PACKAGE} ${MAGENT}-${W}-Debug.7z ${MAGENT}-${W}-Debug.exe
141+
138142
package-linux:
139143
${PACKAGE} ${DIR}/${MAGENT}-${L}.7z ${F}
140144
cd ${DIR};${PACKAGE} ${MAGENT}-${L}.7z ${MAGENT}-${L}
@@ -153,7 +157,7 @@ package-move:
153157
clean:
154158
rm -rf ${DIR}*
155159

156-
package-all: package-windows package-linux package-darwin
160+
package-all: package-windows package-windows-debug package-linux package-darwin
157161

158162
#Build all files for release distribution
159163
distro: clean all package-all package-move

0 commit comments

Comments
 (0)