Commit Graph

5 Commits

Author SHA1 Message Date
Joris Vink c5ce707a91 Introduce build flavors.
Kore applications now get a build.conf which may contain different
build flavors. Each flavor can get its own cflags or ldflags.

This was in parts inspired by #106.

A new cli command has been added:
kore flavor

This command allows you to see all flavors and switch between them.
The kore build command now also takes a -v argument which if given
dumps the used CFLAGS and LDFLAGS out to stdout.

For existing applications the build.conf is automatically generated
next time you run kore build or kore run.

Also fixed a bug in the json_yajl example, sneaky change here.
2016-01-27 21:29:59 +01:00
Joris Vink 340bcb3b0d Properly queue net events for tls-proxy example 2016-01-22 15:07:33 +01:00
Joris Vink c3401fe348 Make the TLS proxy example much better.
Now allows multiple backends based on SNI that was
set during TLS handshake.

The connection phase for the backends is now fully
non blocking.
2015-12-09 21:29:53 +01:00
Joris Vink 1ed96b12a9 correct certificate path in example 2015-12-02 21:53:42 +01:00
Joris Vink d02f9e549f Add TLS proxy example. 2015-12-02 21:52:26 +01:00