Exemplo n.º 1
0
 static const std::string REPO(const kul::Dir& d, const std::string& r){
     if(INSTANCE().valids.count(d.path())) return (*INSTANCE().valids.find(d.path())).second;
     if(IS_SOLID(r)) INSTANCE().valids.insert(d.path(), r);
     else            GET_SCM(d, r);
     if(INSTANCE().valids.count(d.path())) return (*INSTANCE().valids.find(d.path())).second;
     KEXCEPT(Exception, "SCM not discovered for project: "+d.path());
 }
Exemplo n.º 2
0
Arquivo: proc.hpp Projeto: mkn/mkn.kul
 Process(const std::string& cmd, const kul::Dir& d, const bool& wfe = true) : kul::AProcess(cmd, d ? d.real() : d.path(), wfe){}