sway/.ci/build.sh
2015-09-04 21:08:44 +02:00

17 lines
432 B
Bash
Executable File

#!/bin/bash
# clone and build wlc
git clone https://github.com/Cloudef/wlc.git
cd wlc
git submodule update --init --recursive # - initialize and fetch submodules
mkdir target && cd target # - create build target directory
cmake -DCMAKE_BUILD_TYPE=Upstream .. # - run CMake
make # - compile
sudo make install # - install
cd ../..
# build sway
cmake .
make