https://github.com/nissy/syugo
Collect files from git repositorys.
https://github.com/nissy/syugo
git
Last synced: about 2 months ago
JSON representation
Collect files from git repositorys.
- Host: GitHub
- URL: https://github.com/nissy/syugo
- Owner: nissy
- Created: 2019-01-08T11:41:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-09T04:44:55.000Z (over 7 years ago)
- Last Synced: 2025-06-22T08:43:49.369Z (12 months ago)
- Topics: git
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# syugo
Collect files from git repositorys.
## Setup
```
$ go get -u github.com/nissy/syugo/cmd/syugo
```
## Config
syugo.sample.toml
```toml
[[collects]]
repository = "https://github.com/google/fonts"
requests = [
"ufl/ubuntu/Ubuntu-Medium.ttf",
"ufl/ubuntu/Ubuntu-MediumItalic.ttf",
]
version = "master"
dir = "fonts"
[[collects]]
repository = "https://github.com/Microsoft/fonts"
requests = [
"Symbols/winjs-symbols.ttf",
]
version = "master"
dir = "fonts"
```
## Usage
```
$ syugo -c syugo.sample.toml
$ tree fonts/
fonts/
├── Symbols
│ └── winjs-symbols.ttf
└── ufl
└── ubuntu
├── Ubuntu-Medium.ttf
└── Ubuntu-MediumItalic.ttf
```