Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
populate command hooks in project options from zanata.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmason committed Nov 18, 2013
1 parent ddcca68 commit 317b862
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -90,6 +90,9 @@ private static void applyProjectConfig(ConfigurableProjectOptions opts,
}
LocaleList locales = config.getLocales();
opts.setLocaleMapList(locales);

// command hooks cannot be set via parameters
opts.setCommandHooks(config.getHooks());
}

/**
Expand Down

0 comments on commit 317b862

Please sign in to comment.