1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Introjucer work.

This commit is contained in:
Julian Storer 2011-08-18 15:04:22 +01:00
parent 113dd5627b
commit 172d2a1c8b
12 changed files with 20 additions and 720 deletions

View file

@ -180,6 +180,22 @@ namespace
return 0;
}
int listModules()
{
std::cout << "Downloading list of available modules..." << std::endl;
ModuleList list;
list.loadFromWebsite();
for (int i = 0; i < list.modules.size(); ++i)
{
ModuleList::Module* m = list.modules.getUnchecked(i);
std::cout << m->uid << ": " << m->version << std::endl;
}
return 0;
}
}
//==============================================================================
@ -198,5 +214,8 @@ int performCommandLine (const String& commandLine)
if (tokens[0] == "buildallmodules")
return buildModules (tokens, true);
if (tokens[0] == "listmodules")
return listModules();
return commandLineNotPerformed;
}