Git 项目构建工具 GitCompound

码农软件 · 软件分类 · Git开源工具 · 2019-11-04 10:42:01

软件介绍

GitCompound  可以用 Git 库和 Ruby 任务建立你的项目。它结合了 Git 子模块的功能和类似 Bundler 或者 Composer 的公共依赖管理器。

核心特点:

  • GitCompound 引入了特定领域的语言来设计 manifest

  • Manifest 文件用于指定的项目

  • Manifest 可以用不版本策略来描述组件依赖 (Rubygems 类似的版本, 标签,分支或者确定的 SHA).

  • Manifests 可以用分级的方式进行处理.

示例代码:

  name :base_component
  maintainer 'Your Name <your.email@example.com>'

  component :vendor_1 do
    version '~>1.1'
    source  'git@github.com:/user/repository'
    destination 'src/component_1'
  end

  component :second_component do
    version '>=2.0'
    source  'git@github.com:/user/repository_2'
    destination 'src/component_2'
  end

  component :my_component do
    branch 'feature/new-feature'
    source  '/my/component_3/repository'
    destination 'src/component_3'
  end

  task 'print details', :each do |_path, component|
    puts "Component `#{component.name}` installed in #{component.path}"
  end

本文地址:https://www.codercto.com/soft/d/18239.html

BSD Hacks

BSD Hacks

Dru Lavigne / O'Reilly Media, Inc. / 2004-05-24 / USD 24.95

If you want more than your average BSD user--you want to explore and experiment, unearth shortcuts, create useful tools, and come up with fun things to try on your own--BSD Hacks is a must-have. This ......一起来看看 《BSD Hacks》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具