Commit Graph

18 Commits

Author SHA1 Message Date
LE GARREC Vincent b8f44aec2e
Rename BUILD_TRANTOR_SHARED to BUILD_SHARED_LIBS (#1299) 2022-06-29 17:29:20 +08:00
timomrs bba5253a0f
Remove sudo from build.sh (#1127)
Somewhat controversial, but in general scripts shouldn't have sudo embedded, if necessary the user should run the whole script under sudo. See for example discussions in:

https://askubuntu.com/questions/425754/how-do-i-run-a-sudo-command-inside-a-script
https://unix.stackexchange.com/questions/20284/should-i-be-using-sudo-in-scripts-that-i-write

with conflicting answers. However, removing the sudo from the script here would allow removing dependency on sudo from Dockerfile (I believe) since in Docker the install is done as root, while a user installing elsewhere is free to use sudo for the whole script.
2021-12-17 16:53:14 +08:00
Bertrand Darbon 54727a5dbe
Add exports macro to allow Shared Library with hidden symbols by default (e.g. Windows) (#745)
Co-authored-by: an-tao <antao2002@gmail.com>
2021-04-09 10:17:28 +08:00
Roque df04c47f74
Fix build.sh missing nproc error in build for macOS (#751) 2021-03-13 18:56:16 +08:00
An Tao 5e35055379
Build release version in docker (#520) 2020-07-30 16:27:35 +08:00
Vedran Miletić 375498a5a6
Fixes for FreeBSD (#440)
* Use uuid(3) to generate UUIDs on FreeBSD

FreeBSD is now handled like Windows so additional UUID libraries are
not required.

* Modify build.sh script to work on FreeBSD

- /bin/bash -> /usr/bin/env bash
- nproc -> sysctl -n hw.ncpu
2020-05-20 22:29:37 +08:00
interfector18 4c8dbdbb85
Ninja (#391)
Use ninja to build if found on system (in /bin/ninja)
Make make simulate ninja's default parallelism

Should help with travis_ci as default build environments have 2 cores.
2020-03-17 00:54:30 +08:00
An Tao 6571e55631
Adding unit tests to Travis CI (#310) 2019-12-07 17:43:00 +08:00
An Tao 5bb54cd4cf
Fix a bug in compressing by zlib (#308) 2019-12-07 01:26:12 +08:00
An Tao 70eda27427
Add the ability to create restful API controllers (#244)
* Add the ability to create restful API controllers

* Update the model.json template file

* Modify the 'create controller' command of the drogon_ctl

* access column values by column array indexes instead of column names when constructing an instance of a model class

* Fix a bug of mysql database

* Add some static SQL into models

* Add validations to models

* Add setToNull method to models

* Support 'where in' substatement

* Delay rendering from json to the response body. This allows users to modify the json object before sending a response.

* Add synchronous method to the HttpClient class
2019-09-30 21:34:30 +08:00
An Tao 10db494556
Add database tests in the travis CI (#214) 2019-08-16 23:41:03 +08:00
antao 1f8be1ce8c Add some Travis CI tests 2019-03-26 15:25:22 +08:00
antao b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao c23d7417a8 Modify some comments 2018-11-16 18:25:41 +08:00
Yun Liu c19c536f6c fixed some bugs 2018-11-16 17:26:35 +08:00
Yun Liu 2a81864b72 update script and add more comments 2018-11-16 15:31:08 +08:00
an-tao 6adc6ce9a6 add Cookie class 2018-06-19 16:55:25 +08:00
an-tao f6993cf12e build.sh 2018-05-11 17:51:01 +08:00