CompilerBlob
Functions for working with the Haskell-based Gren compiler.
Version of the compiler blob. This might not match the version of the Gren compiler as a whole, as the Haskell- and Gren-parts are versioned seperatly.
Type used to signal that the given platform isn't supported. Meaning that there doesn't exist a pre-built compiler blob.
Construct a URL from which you can download a compiler blob compatible with the given platform and cpu architecture.
Downlod the compiler blob.
Construct a Path
where we'd expect to find the compiler blob if it has been downloaded
previously.
Checks if the compiler blob exist on this system.
Commands supported by the compiler blob.
Init
: generate a gren.json and src directory in the current directory.Repl
: run a REPL.Make
: compile a projectDocs
: generate a docs.json filePackageInstall
: install dependenciesPackageUninstall
: remove a dependencyPackageOutdated
: get a list of outdated dependenciesPackageValide
: check if this package is ready to be deployedPackageBump
: bump package version to next compatible semantic versionPackageDiff
: calculate the API-difference between this package and another version.
Execute the compiler blob. The blob will write to stdout and stderr. There's currently no way to redirect what is written to these streams.