Skip to content

Importing Third party Code

Kazuho Oku edited this page Mar 13, 2019 · 3 revisions

The preferred way of importing third-party code is to store them in dedicated directories under deps/, by running misc/dump-github-repository.pl.

The example below dumps the entire repository of picohttpparser (at the point of commit-hash) into a directory named deps/picohttpparser, and commits the changes being made.

% misc/dump-github-repository.pl https://github.com/h2o/picohttpparser commit-hash deps/picohttpparser

Adding mruby gems

For adding mruby modules their directory name should start with mruby-. All modules that match Dir.glob("../mruby-*/mrbgem.rake") get automatically linked.

Clone this wiki locally