quarks (new) - installing local quark does not install it's dependencies it only links. #1378

Closed
miguel-negrao opened this Issue Mar 27, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@miguel-negrao
Member

miguel-negrao commented Mar 27, 2015

    *install { |name, refspec|
        var path;
        if(Quarks.isPath(name).not, {
            this.installQuark(Quark(name, refspec));
        }, {
            // local path / ~/ ./
            path = this.asAbsolutePath(name);
            if(File.exists(path).not, {
                ("Path does not exist" + path).warn;
            });
            this.link(path);
        });
    }

Shouldn't the behaviour be the same if the quark is local or not ? Perhaps *installQuark could be modified to also install local quarks, by not doing a checkout on those, but still running the rest of the code, like getting the dependencies.

@crucialfelix

This comment has been minimized.

Show comment
Hide comment
@crucialfelix

crucialfelix Apr 9, 2015

Member

This was fixed in 4581a35

Member

crucialfelix commented Apr 9, 2015

This was fixed in 4581a35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment