forked from loafle/openapi-generator-original
* test cpp pistache petstore in travis * make build_petstore executable * add submodule update init * use addExternalLibs option * update samples * update gcc version to 5 * fix addon, env * restore cargo path * trigger build failure, add cache * undo build failure change
14 lines
301 B
Bash
Executable File
14 lines
301 B
Bash
Executable File
#/bin/bash
|
|
# ref: http://pistache.io/quickstart#installing-pistache
|
|
#
|
|
echo "Installing Pistache ..."
|
|
|
|
git clone https://github.com/oktal/pistache.git || true
|
|
cd pistache
|
|
git submodule update --init
|
|
mkdir -p build
|
|
cd build
|
|
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
|
|
make
|
|
sudo make install
|