sway/.ci/build.sh

17 lines
432 B
Bash
Raw Normal View History

2015-09-04 17:38:19 +00:00
#!/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
2015-09-04 19:08:44 +00:00
sudo make install # - install
2015-09-04 17:38:19 +00:00
cd ../..
# build sway
2015-09-04 19:08:44 +00:00
cmake .
2015-09-04 17:38:19 +00:00
make