Conan 开源 C/C++ 包管理器开源项目

我要开发同款
匿名用户2022年10月10日
332阅读

技术信息

开源地址
https://github.com/conan-io/conan
授权协议
MIT

作品详情

Coa是一个去中心化、开源(MIT)、C/C++包管理器。 

它是完全去中心化的,用户可以私下将他们的包托管在他们的服务器上适用于所有平台,包括Liux、OSX、Widows、Solaris、FreeBSD、Docker、WSL管理二进制文件。它可以为任何配置和平台创建、上传和下载二进制文件,甚至交叉编译,节省大量的开发和持续集成时间。与任何构建系统集成,包括任何专有和自定义系统。可扩展:具有强大的功能和灵活性设置$pipistallcoa安装开发版本

可以在Widows、macOS和Liux中运行Coa客户端和服务器

安装pip

克隆Coa仓库:

$gitcloehttps://github.com/coa-io/coa.gitcoa-io注意:存储库目录名称很重要,已知某些目录在运行测试时会出现问题

以可编辑模式安装

$cdcoa-io&&sudopipistall-e.

如果安装在Widows中,则不需要使用sudo

尝试运行Coa:

$coa--helpCosumercommadsistallIstallstherequiremetsspecifiediarecipe(coafile.pyorcoafile.txt).cofigMaagesCoacofiguratio.getGetsafileorlistadirectoryofagiverefereceorpackage.ifoGetsiformatioaboutthedepedecygraphofarecipe.searchSearchespackagerecipesadbiariesithelocalcacheoraremote.Ulessaremoteisspecifiedolythelocalcacheissearched.CreatorcommadsewCreatesaewpackagerecipetemplatewitha'coafile.py'adoptioally,'test_package'testigfiles.createBuildsabiarypackageforarecipe(coafile.py).uploadUploadsarecipeadbiarypackagestoaremote.exportCopiestherecipe(coafile.py&associatedfiles)toyourlocalcache.export-pkgExportsarecipe,thecreatesapackagefromlocalsourceadbuildfolders.testTestsapackagecosumigitfromacoafile.pywithatest()method.PackagedevelopmetcommadssourceCallsyourlocalcoafile.py'source()'method.buildCallsyourlocalcoafile.py'build()'method.packageCallsyourlocalcoafile.py'package()'method.editableMaageseditablepackages(packagesthatresideitheuserworkspace,butarecosumedasiftheywereithecache).workspaceMaagesaworkspace(asetofpackagescosumedfromtheuserworkspacethatbelogstothesameproject).MisccommadsprofileListsprofilesithe'.coa/profiles'folder,orshowsprofiledetails.remoteMaagestheremotelistadthepackagerecipesassociatedwitharemote.userAutheticatesagaistaremotewithuser/pass,cachigtheauthtoke.importsCallsyourlocalcoafile.pyorcoafile.txt'imports'method.copyCopiescoarecipesadpackagestoaotheruser/chael.removeRemovespackagesorbiariesmatchigpatterfromlocalcacheorremote.aliasCreatesadexportsa'aliaspackagerecipe'.dowloadDowloadsrecipeadbiariestothelocalcache,withoutusigsettigs.ispectDisplayscoafileattributes,likeame,versio,adoptios.Workslocally,ilocalcacheadremote.helpShowshelpforaspecificcommad.lockGeeratesadmaipulateslockfiles.frogariaCoaTheFrogariaCoacommads.Type"coa<commad>-h"forhelp

 

 

功能介绍

Conan 是一个去中心化、开源 (MIT)、C/C++ 包管理器。 它是完全去中心化的,用户可以私下将他们的包托管在他们的服务器上 适用于所有平台,包括 Linux、OSX、Windows、S...

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论