matrixion/Makefile

55 lines
983 B
Makefile
Raw Permalink Normal View History

2017-08-13 19:17:04 +03:00
debug:
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
@cmake --build build
2017-04-06 04:07:53 +03:00
2017-12-22 17:33:29 +03:00
ci:
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
release:
@cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
2017-11-05 18:56:02 +03:00
linux-appimage:
@./.ci/linux/deploy.sh
2017-11-26 22:32:18 +03:00
linux-install:
cp -f nheko*.AppImage ~/.local/bin
2017-12-22 17:33:29 +03:00
macos-app: release
2017-11-06 18:20:48 +03:00
@./.ci/macos/deploy.sh
2017-08-13 19:17:04 +03:00
2017-11-06 18:20:48 +03:00
macos-app-install:
cp -Rf build/nheko.app /Applications
run:
@./build/nheko
2017-04-06 14:58:48 +03:00
2017-04-30 15:10:59 +03:00
lint:
2017-09-24 17:08:11 +03:00
@./.ci/format.sh
2017-05-02 04:22:33 +03:00
2017-12-14 02:23:17 +03:00
image:
docker build -t nheko-app-image .
docker-app-image: image
docker run \
-e CXX=g++-7 \
-e CC=gcc-7 \
-v `pwd`:/build nheko-app-image make release
docker run \
--privileged \
-v `pwd`:/build nheko-app-image make linux-appimage
2017-12-26 20:08:00 +03:00
docker-packages: image
docker run \
-e CXX=g++-7 \
-e CC=gcc-7 \
-v `pwd`:/build nheko-app-image make release
docker run \
--privileged \
-v `pwd`:/build nheko-app-image ./.ci/linux/create-packages.sh
2017-04-06 04:07:53 +03:00
clean:
2017-12-21 16:10:04 +03:00
rm -rf build