package spin
A project generator for Reason and OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
spin-0.6.0.tbz
sha256=2fea29779b8751651e101064affbfc482c62c68fc6672f28a314ae60f30c75c2
sha512=df00a63f6f12fe8ebd1626356741256f00c2c51878f227bca4243c83ff8dbbe1734fe7ce70d22ecb134968795e166ea5770fc038551f48fb6d510e52c3234c2e
doc/spin/Spin/Template/index.html
Module Spin.Template
type source =
| Git of Spin_std.string
| Local_dir of Spin_std.string
| Official of (module Spin_template.Template)
type t = {
name : Spin_std.string;
description : Spin_std.string;
files : (Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t;
context : (Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t;
pre_gen_actions : Template_actions.t Spin_std.list;
post_gen_actions : Template_actions.t Spin_std.list;
example_commands : example_command Spin_std.list;
source : source;
generators : (Spin_std.string, Spin_std.unit -> (Template_generator.t, Spin_error.t) Lwt_result.t) Spin_std.Hashtbl.t;
}
val source_of_string : Spin_std.string -> source Spin_std.Option.t
val source_of_dec :
Dec_common.Source.t ->
(source, Spin_std.string) Spin_std.Result.t
val source_to_dec : source -> Dec_common.Source.t
val read_source_spin_file :
?download_git:Spin_std.bool ->
source ->
(Dec_template.t, Spin_error.t) Lwt_result.t
val read_source_template_files :
?download_git:Spin_std.bool ->
source ->
((Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t, Spin_error.t)
Lwt_result.t
val of_dec :
?use_defaults:Spin_std.bool ->
?files:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t ->
?ignore_configs:Spin_std.bool ->
?ignore_actions:Spin_std.bool ->
?ignore_example_commands:Spin_std.bool ->
?ignore_generators:Spin_std.bool ->
source:source ->
context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t ->
Dec_template.t ->
(t, Spin_error.t) Lwt_result.t
val read :
?use_defaults:Spin_std.bool ->
?ignore_configs:Spin_std.bool ->
?ignore_actions:Spin_std.bool ->
?ignore_example_commands:Spin_std.bool ->
?ignore_generators:Spin_std.bool ->
?context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t ->
source ->
(t, Spin_error.t) Lwt_result.t
val generate :
path:Spin_std.string ->
t ->
(Spin_std.unit, Spin_error.t) Lwt_result.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>