Files
podi/doc/recipes.md

25 lines
575 B
Markdown
Raw Permalink Normal View History

2022-02-13 14:14:18 +01:00
# Adding your own recipes
```bash
$ ./podi recipe hello # install helloworld-example
$ mv .pod/{hello,foo} # rename to foo and modify
$ git add .pod/foo
# PROFIT!
```
# Adding your own recipe repository
2022-02-22 06:54:02 +01:00
Just expose a directory with recipes, and add `index.txt` in that directory:
2022-02-13 14:14:18 +01:00
```bash
2022-02-22 06:54:02 +01:00
$ find -type f | grep -v index.txt | sed 's/^\.\///g' > index.txt
2022-02-13 14:14:18 +01:00
```
2022-02-21 12:50:27 +01:00
Then add the index-url to the `podi` script:
2022-02-13 14:14:18 +01:00
```bash
RECIPE_REPOS="https://raw.githubusercontent.com/coderofsalvation/podi/master/recipe/.index.txt https://yoururl/.index.txt"
```
> Profit!