Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drjekyllthemes/build
Build scripts (fetch project info from github, import themes from wiki page, etc.)
https://github.com/drjekyllthemes/build
Last synced: 6 days ago
JSON representation
Build scripts (fetch project info from github, import themes from wiki page, etc.)
- Host: GitHub
- URL: https://github.com/drjekyllthemes/build
- Owner: drjekyllthemes
- Created: 2015-07-16T16:11:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-28T13:50:30.000Z (over 1 year ago)
- Last Synced: 2024-11-17T07:09:14.843Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 250 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Build scripts (fetch project info from github, import themes from wiki page, etc.)
## Update Dr Jekyll's Themes Directory
**Update stats (GitHub stars, etc.)**
Set your GitHub env credentials e.g.
```
set HUBBA_USER=you
set HUBBA_PASSWORD=topsecret
```Update stats (in /data) via GitHub API calls:
```
$ ruby script/upthemes.rb
```**Update datafiles**
Who generates what?
| Script | Output |
| ----------- | ----------------------------------------- |
| `mkthemes` | => `o/themes.yml`, `o/theme_by_name.yml` |
| `mkauthors` | => `o/authors.yml` and all `_authors/[name].md` pages |
| `mktags` | => `o/tags.yml` |
| `mkgems` | => `o/gems.yml` |To (re)build the theme datafiles use:
```
$ ruby script/mkthemes.rb
```Note: The `mkauthors` and `mkgems` script depend on `mkthemes`,
that is, run `mkthemes` before `mkauthors` and `mkgems`
(both will read in the generated `o/themes.yml` datafile).Use (run) these scripts/steps:
```
$ ruby script/mkauthors.rb
$ ruby script/mkgems.rb
$ ruby script/mktags.rb
```