aboutsummaryrefslogtreecommitdiff
path: root/include/recipe.h
blob: 2a0fe4bbabf14ec14b61abfa55c8ef3733b147bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// Created by jhunk on 10/7/23.
//

#ifndef OHMYCAL_RECIPE_H
#define OHMYCAL_RECIPE_H

#include "str.h"
#include "utils.h"

#define RECIPE_DIR "recipes"
#define RECIPE_TYPE_UNKNOWN 0
#define RECIPE_TYPE_CONDA_FORGE 1
#define RECIPE_TYPE_ASTROCONDA 2
#define RECIPE_TYPE_GENERIC 3

int recipe_clone(char *recipe_dir, char *url, char *gitref, char **result);
int recipe_get_type(char *repopath);

#endif //OHMYCAL_RECIPE_H