diff --git a/TODO.md b/TODO.md index 755b958..a2a1817 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,7 @@ +foo#*.ext for src_filter on input side + removes extra intermediate rules (*.css only from set) + + Stages ============================================================== diff --git a/anvil/rules/closure_gss_rules.py b/anvil/rules/closure_gss_rules.py index 9cd8447..57c4d25 100644 --- a/anvil/rules/closure_gss_rules.py +++ b/anvil/rules/closure_gss_rules.py @@ -16,8 +16,8 @@ from anvil.rule import Rule, build_rule from anvil.task import Task, JavaExecutableTask -@build_rule('closure_gss') -class ClosureGssRule(Rule): +@build_rule('closure_gss_library') +class ClosureGssLibraryRule(Rule): """A Closure Stylesheets transformed file. Uses the Closure Stylesheets compiler to cat/minify input GSS files into a single output CSS file. @@ -57,7 +57,7 @@ class ClosureGssRule(Rule): out: Optional output name. If none is provided than the rule name will be used. """ - super(ClosureGssRule, self).__init__(name, *args, **kwargs) + super(ClosureGssLibraryRule, self).__init__(name, *args, **kwargs) self.mode = mode self.compiler_jar = compiler_jar self._append_dependent_paths([self.compiler_jar]) @@ -75,7 +75,7 @@ class ClosureGssRule(Rule): class _Context(RuleContext): def begin(self): - super(ClosureGssRule._Context, self).begin() + super(ClosureGssLibraryRule._Context, self).begin() args = [] args.extend(self.rule.compiler_flags)