https://github.com/nabinno/mods
Package manager with Git Submodules in Red lang.
https://github.com/nabinno/mods
package-manager red
Last synced: about 1 month ago
JSON representation
Package manager with Git Submodules in Red lang.
- Host: GitHub
- URL: https://github.com/nabinno/mods
- Owner: nabinno
- License: bsl-1.0
- Created: 2019-02-11T12:09:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-28T22:02:15.000Z (almost 7 years ago)
- Last Synced: 2025-10-11T20:20:59.096Z (5 months ago)
- Topics: package-manager, red
- Language: Red
- Homepage: https://github.com/nabinno/mods
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mods --- Hot command
Package manager with Git Submodules in Red lang.
## Installation
```sh
> hot cmd/install https://raw.githubusercontent.com/nabinno/mods/master/mods.red
```
## Configuration
```red
> cat hots.red
Red []
hots: context [
mods: [
red-elixir #(init: %init.red git: https://github.com/nabinno/red-elixir)
json #(init: %json.red git: https://github.com/rebolek/red-tools)
http-tools #(init: %http-tools.red git: https://github.com/rebolek/red-tools)
regex #(init: %regex.red git: https://github.com/toomasv/regex)
]
]
> hot mods/get
```
## Getting Started
```red:init.red
Red []
do/args %require [red-elixir]
```
## Functions
- `mods/get` - Add submodules in Git and set modules into Red.
- `mods/clean` - Remove all submodules.
- `do/args %require` - Explicitly do modules.
---
## Contributing
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request
## EPILOGUE
> A whale!
> Down it goes, and more, and more
> Up goes its tail!
>
> -Buson Yosa