improve install script

This commit is contained in:
Kevin Yue
2021-09-19 07:54:15 +08:00
parent 5c8aefa4fc
commit 28d4ac834a
2 changed files with 5 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash -e
./cmakew -B build
./cmakew --build build
MAKEFLAGS=-j$(nproc) ./cmakew --build build
sudo ./cmakew --install build
sudo systemctl daemon-reload