Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gamepad64/conan-http-parser
https://github.com/gamepad64/conan-http-parser
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gamepad64/conan-http-parser
- Owner: GamePad64
- License: mit
- Created: 2017-11-21T18:28:50.000Z (almost 7 years ago)
- Default Branch: testing/2.7.1
- Last Pushed: 2024-02-29T20:15:08.000Z (9 months ago)
- Last Synced: 2024-02-29T21:30:43.535Z (9 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[ ![Download](https://api.bintray.com/packages/bincrafters/public-conan/somelib%3Abincrafters/images/download.svg) ](https://bintray.com/bincrafters/public-conan/http-parser%3Abincrafters/_latestVersion)
[![Build Status](https://travis-ci.org/bincrafters/conan-http-parser.svg?branch=stable%2F2.7.1)](https://travis-ci.org/bincrafters/conan-http-parser)
[![Build status](https://ci.appveyor.com/api/projects/status/sxs9n6vb8nqa92l5?svg=true)](https://ci.appveyor.com/project/BinCrafters/conan-http-parser)[Conan.io](https://conan.io) package for [http-parser](https://github.com/nodejs/http-parser) project
The packages generated with this **conanfile** can be found in [Bintray](https://bintray.com/bincrafters/public-conan/http-parser%3Abincrafters).
## For Users: Use this package
### Basic setup
$ conan install http-parser/2.7.1@bincrafters/stable
### Project setup
If you handle multiple dependencies in your project is better to add a *conanfile.txt*
[requires]
http-parser/2.7.1@bincrafters/stable[generators]
txtComplete the installation of requirements for your project running:
$ mkdir build && cd build && conan install ..
Note: It is recommended that you run conan install from a build directory and not the root of the project directory. This is because conan generates *conanbuildinfo* files specific to a single build configuration which by default comes from an autodetected default profile located in ~/.conan/profiles/default . If you pass different build configuration options to conan install, it will generate different *conanbuildinfo* files. Thus, they should not be added to the root of the project, nor committed to git.
## For Packagers: Publish this Package
The example below shows the commands used to publish to bincrafters conan repository. To publish to your own conan respository (for example, after forking this git repository), you will need to change the commands below accordingly.
## Build and package
The following command both runs all the steps of the conan file, and publishes the package to the local system cache. This includes downloading dependencies from "build_requires" and "requires" , and then running the build() method.
$ conan create bincrafters/stable
## Add Remote
$ conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"
## Upload
$ conan upload http-parser/2.7.1@bincrafters/stable --all -r bincrafters
## License
[LICENSE_TYPE](LICENSE)