Skip to content

add auto tinygo installer #2

@cdvelop

Description

@cdvelop

// VerifyTinyGoInstallation checks if TinyGo is properly installed
func (t *TinyWasm) VerifyTinyGoInstallation() error {
_, err := exec.LookPath("tinygo")
if err != nil {

	// install TinyGo from https://tinygo.org/getting-started/installation/
	return fmt.Errorf("TinyGo not found in PATH: %v", err)
}
return nil

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions