Skip to content

Commit

Permalink
go back to release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Phillips committed May 7, 2015
1 parent 40b7756 commit 50a3e19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LUVI_ARCH=$(shell uname -s)_$(shell uname -m)

OS:=$(shell uname -s)

CMAKE_FLAGS+= -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
CMAKE_FLAGS+= -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
ifdef GENERATOR
CMAKE_FLAGS+= -G"${GENERATOR}"
endif
Expand Down
12 changes: 6 additions & 6 deletions make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ GOTO :end

:build
IF NOT EXIST build CALL Make.bat regular
cmake --build build --config RelWithDebInfo -- /maxcpucount
COPY build\RelWithDebInfo\luvi.exe .
cmake --build build --config Release -- /maxcpucount
COPY build\Release\luvi.exe .
GOTO :end

:test
Expand Down Expand Up @@ -58,17 +58,17 @@ CALL make.bat reset
CALL make.bat tiny
CALL make.bat test
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file luvi.exe --name luvi-tiny-Windows-amd64.exe
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file build\RelWithDebInfo\luvi.lib --name luvi-tiny-Windows-amd64.lib
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file build\RelWithDebInfo\luvi_renamed.lib --name luvi_renamed-tiny-Windows-amd64.lib
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file build\Release\luvi.lib --name luvi-tiny-Windows-amd64.lib
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file build\Release\luvi_renamed.lib --name luvi_renamed-tiny-Windows-amd64.lib
GOTO :end

:publish-regular
CALL make.bat reset
CALL make.bat regular
CALL make.bat test
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file luvi.exe --name luvi-regular-Windows-amd64.exe
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file build\RelWithDebInfo\luvi.lib --name luvi-regular-Windows-amd64.lib
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file build\RelWithDebInfo\luvi_renamed.lib --name luvi_renamed-regular-Windows-amd64.lib
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file build\Release\luvi.lib --name luvi-regular-Windows-amd64.lib
github-release upload --user luvit --repo luvi --tag %LUVI_TAG% --file build\Release\luvi_renamed.lib --name luvi_renamed-regular-Windows-amd64.lib
GOTO :end

:publish
Expand Down

0 comments on commit 50a3e19

Please sign in to comment.