OCaml project generator.
CHANGES:
hello
command to generate a tutorial projectparse_binaries
stanza that can be true
to force Spin to parse binary filesraw_files
stanza that takes a list of file or glob expressions to instruct Spin to copy files instead of parsing themc-bindings
template for C bindings using ctypes
js
template for javascript applications with js_of_ocaml
gen
subcommand. The generators will come back with a much better workflowISC
licenseocamlformat
to 0.18.0
in templatesocaml/setup-ocaml@v2
-open StdLabels
in templatesspa
template has been removed from the official templates and now lives at https://github.com/ocaml-templates/spin-incr-dom
test
stanza for unit tests now that Alcotest prints colors by defaultdune
filespin config
, or by setting the env variable SPIN_CREATE_SWITCH=false
opam.2.0.X
and opam.2.1.X
that made Spin unusable with the former.CHANGES:
spa
template to generate Single-Page-Application with Js_of_ocaml--root
argument in templates' Makefiles to better compose generated projectsservedoc
bs-react
template from the official templates. The template now lives in tmattio/spin-rescript..ml
files to .re
.CHANGES:
This release is a complete rewrite of Spin.
Since the beginning of the project, a lot of learnings have been made and this new version incorporates these learning to build a solid foundation for the future of Spin.
(inherit ...)
stanzaspin
without a subcommand now displays a simpler usage documentation. The man
page is available with spin --help
npm
when yarn
is absentCHANGES:
spin ls
result by name.CHANGES:
condition
field in the postinstall
stanza for the templates.post_install
stanza to run commands after installing a template now supports the working_dir
stanza.
The command will be executed in the given working directory.starting_command
stanza.tutorial
stanza.