now reads names from cellar.json
This commit is contained in:
parent
e30cddee84
commit
252b2fdfe6
6
.gitignore
vendored
6
.gitignore
vendored
@ -8,3 +8,9 @@ configure
|
||||
depcomp
|
||||
install-sh
|
||||
missing
|
||||
stamp-h1
|
||||
|
||||
Makefile
|
||||
*/Makefile
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
|
@ -31,7 +31,7 @@ int main(int argc, char* argv[]) {
|
||||
sstr << configstream.rdbuf();
|
||||
config = json::parse(sstr.str());
|
||||
|
||||
cout << "has a json" << endl;
|
||||
cout << "- " << config["name"];
|
||||
}
|
||||
catch (const exception &exc) {
|
||||
cout << "- bogus cellar.json file" << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user