forked from loafle/openapi-generator-original
* Update build-and-test.bash add check for non autogenerated test file * Update README.md.mustache Add instructions on how to test petstore sample manual tests. * remove petstore sample from readme
23 lines
385 B
Bash
Executable File
23 lines
385 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
#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 ..
|
|
|
|
# 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
|
|
|