Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 478 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 478 Bytes

pkg

a simple c/c++ package manager based on source code.

Usage

  • Quick Start
$ go get -u github.com/genshen/pkg/pkg

# generate a new "package.yaml"
$ pkg init

# install a package,type can be "git", "tar", "files" for now. 
$ pkg fetch <type> <packagename>

# build and install packages from "package.yaml" file.
$ pkg install

# build and install a package specified by argument --pkg.
$ pkg install -pkg=<package_name>  # or: pkg install --pkg <package_name>