haxeui/haxeui-core

View on GitHub
cli/src/updates/kha/KhaUpdate.hx

Summary

Maintainability
Test Coverage
package updates.kha;

class KhaUpdate extends HaxeLibUpdate {
    public function new() {
        super([
            "haxeui-core",
            "haxeui-kha"
        ]);
    }

    public override function execute(params:Params) {
        super.execute(params);

        Sys.setCwd(params.target);

        var p = new ProcessHelper();
        p.run("git", ["submodule", "update", "--init", "--recursive"]);

        Sys.setCwd(params.cwd);
    }
}