Skip to content

Commit

Permalink
fix(Makefile): make install-debug; do return error code on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Sep 28, 2017
1 parent b685d40 commit 1177142
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ uninstall-debug:
test: release
(cd build/test; ./rime_test)

test-debug: release
test-debug: debug
(cd debug-build/test; ./rime_test)

4 changes: 2 additions & 2 deletions Makefile.xcode
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ all: release

release:
cmake . -Bxbuild -GXcode -DBUILD_STATIC=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
cmake --build xbuild --config Release | grep -v setenv | tee build.log
cmake --build xbuild --config Release

debug:
cmake . -Bxdebug -GXcode -DBUILD_STATIC=ON -DBUILD_SEPARATE_LIBS=ON
cmake --build xdebug --config Debug | grep -v setenv | tee build.log
cmake --build xdebug --config Debug

clean:
rm -rf xbuild > /dev/null 2>&1 || true
Expand Down

0 comments on commit 1177142

Please sign in to comment.