spin
OCaml project generator
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
name : string; |
description : string; |
raw_files : string list; |
parse_binaries : bool; |
files : ( string, string ) Spin_std.Hashtbl.t; |
context : ( string, string ) Spin_std.Hashtbl.t; |
pre_gen_actions : Template_actions.t list; |
post_gen_actions : Template_actions.t list; |
example_commands : example_command list; |
source : source; |
}
val source_of_dec : Dec_common.Source.t -> ( source, string ) Spin_std.Result.t
val source_to_dec : source -> Dec_common.Source.t
val read_source_spin_file :
?download_git:bool ->
source ->
( Dec_template.t, Spin_error.t ) Spin_std.Result.t
val read_source_template_files :
?download_git:bool ->
source ->
( ( string, string ) Spin_std.Hashtbl.t, Spin_error.t ) Spin_std.Result.t
val read :
?use_defaults:bool ->
?context:( string, string ) Spin_std.Hashtbl.t ->
source ->
( t, Spin_error.t ) Spin_std.Result.t
val generate : path:string -> t -> ( unit, Spin_error.t ) Spin_std.Result.t