Git Product home page Git Product logo

hemlock's Introduction

Hemlock ๐ŸŒฒ

hemlock - is a CLI tool for vendoring files or directories from remote resources/repositories. It can be used for easy .proto files vendoring from multiple repositories to perform protogen

โš™๏ธ Installation

hemlock can be easly installed using package manager (currently supported: brew):

brew tap MadL1me/hemlock

brew install hemlock

Usage

Vendoring can be activated by calling main command:

hemlock

By default, hemlock is searching for hemlock.yaml config in same directory.

For example, for following hemlock.yaml config:

version: 1
vendor_dir: vendor
external_deps:
  - github.com/MadL1me/RhythmGE/src/index.scss@68f7379

it will create following structure:

vendor/
โ”œโ”€โ”€ index.scss@68f7379

Hemlock.yaml config format

version: 1
vendor_dir: vendor
external_deps:
  - github.com/MadL1me/RhythmGE/src/index.scss@master    # would get from master branch
  - github.com/MadL1me/RhythmGE/src/index.scss@68f7379   # would get from 68f7379 hash commit
  - github.com/MadL1me/RhythmGE/src/index.scss           # would get from master branch by default

  # you can specify http/https protocol if you want
  - https://github.com/MadL1me/RhythmGE/src/index.scss@master   

  # github permalink buttons also work as well
  - http://github.com/MadL1me/RhythmGE/blob/68f7379aa960a365d7eb61577d536307334a4e2e/src/index.scss 

TODO:

  • Basic demo with ability to vendor remote github files with concrete branch or hash commit
  • Better folder structure for vendored items
  • Better docs
  • Ability to vendor local_files (used for protogen)
  • Ability to vendor from GitLab
  • Ability to vendor from BitBucket
  • Ability to vendor any remote file (for example from pinterest

hemlock's People

Contributors

madl1me avatar

Stargazers

Kirill avatar Default Goose avatar Artyom Kozhevnikov avatar Slava Kuryaev avatar Artem avatar Sergey Novichkov avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.