mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 16:33:56 +00:00
* Add keepalive to c-libcurl * Fix manual tests on client/petstore/c * Update Readme of c/libcurl * better curlConfig handling on c-libcurl
26 lines
425 B
Bash
Executable File
26 lines
425 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# project
|
|
mkdir -p build
|
|
cd build
|
|
|
|
#install latest curl
|
|
wget https://curl.haxx.se/download/curl-7.61.1.zip
|
|
unzip curl-7.61.1.zip
|
|
cd curl-7.61.1
|
|
./configure
|
|
make
|
|
sudo make install
|
|
cd ..
|
|
|
|
# build project
|
|
cmake ..
|
|
make
|
|
|
|
if [ -f unit-manual-PetAPI ]; then ./unit-manual-PetAPI; fi
|
|
if [ -f unit-manual-UserAPI ]; then ./unit-manual-UserAPI; fi
|
|
if [ -f unit-manual-StoreAPI ]; then ./unit-manual-StoreAPI; fi
|
|
|