This PR adds build <module-name> subcommand which does
Run opam pin add --yes <opam-package>name; "file://<package-directory>" for each library or libraryDoc module in the Satyristes
If the module <module-name> has build section, Satyrographos executes it.
On the same time behaviors of some existing features are also changed.
When Satyrographos executes a make clause in build sections, it runs make command with SATYROGRAPHOS_PROJECT environment variable, which has a path to SATySFi Root Directory.
When SATYROGRAPHOS_PROJECT environment variable exists, satysfi subcommand read packages from SATySFi Root Directory specified by the environment variable rather than creating one in the temp directory.
This PR adds
build <module-name>
subcommand which doesopam pin add --yes <opam-package>name; "file://<package-directory>"
for each library or libraryDoc module in the Satyristes<module-name>
hasbuild
section, Satyrographos executes it.On the same time behaviors of some existing features are also changed.
make
clause inbuild
sections, it runs make command withSATYROGRAPHOS_PROJECT
environment variable, which has a path to SATySFi Root Directory.SATYROGRAPHOS_PROJECT
environment variable exists,satysfi
subcommand read packages from SATySFi Root Directory specified by the environment variable rather than creating one in the temp directory.doc
is added to Satyristes.Resolves https://github.com/na4zagin3/satyrographos/issues/179