matrixion/Makefile
Konstantinos Sideris 2edd7f078b Update ci
2017-11-06 17:20:48 +02:00

33 lines
612 B
Makefile

debug:
@cmake -DBUILD_TESTS=OFF -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
@cmake --build build
release-debug:
@cmake -DBUILD_TESTS=OFF -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
test:
@cmake -DBUILD_TESTS=ON -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
@cd build && GTEST_COLOR=1 ctest --verbose
linux-appimage:
@./.ci/linux/deploy.sh
macos-app: release-debug
@./.ci/macos/deploy.sh
macos-app-install:
cp -Rf build/nheko.app /Applications
run:
@./build/nheko
lint:
@./.ci/format.sh
clean:
rm -rf build
.PHONY: build app dmg