Skip to content

Commit

Permalink
List only those projects which has generators
Browse files Browse the repository at this point in the history
  • Loading branch information
loki04 committed Mar 18, 2016
1 parent fd7d925 commit 2a05cba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion csibe.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def submodule_init_and_update(repository_path):

projects = []
for item in os.listdir('src'):
projects.append(item)
if os.path.isdir(os.path.join('gen', item)):
projects.append(item)

helpProjects = "\navailable project names:\n\t" + "\n\t".join(projects)
helpToolchains = "\n\navailable toolchain files:\n\t" + "\n\t".join(toolchains)
Expand Down

0 comments on commit 2a05cba

Please sign in to comment.