Skip to content

Commit

Permalink
Always tack license text to top of bundled processor
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Mar 19, 2016
1 parent 08b0cac commit bea4164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
2 changes: 0 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/**
Copyright (c) 2009-2016 Frank Bennett

This program is free software: you can redistribute it and/or
Expand All @@ -21,4 +20,3 @@
License and of the GNU Affero General Public License along with
this program. If not, see <https://opensource.org/licenses/> or
<http://www.gnu.org/licenses/> respectively.
*/
22 changes: 2 additions & 20 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,6 @@ def apply(self,suppressConsole=False):
for file in os.listdir(p):
if not file.startswith("citeproc"):
continue
if file == "CHANGES.txt" or file == "DESIDERATA.txt":
continue
if file.endswith(".src"):
continue
if file.endswith(".xml"):
continue
if file.endswith(".json"):
continue
if file.endswith(".sh"):
continue
if file.endswith(".csl"):
continue
if file.endswith(".py"):
continue
if file.endswith(".html"):
continue
if file.endswith(".css"):
continue
self.process_file(p,file)

def process_file(self,p,file):
Expand Down Expand Up @@ -744,8 +726,8 @@ def validate(self, validator_path, csl_schema_path, cslm_schema_path):
bundle = Bundle()
bundle.deleteOldBundles()
bundle.createNewBundles()
#license = ApplyLicense()
#license.apply()
license = ApplyLicense()
license.apply()
if opt.testrun:
params.buildRunner()
params.runTests(bundle=opt.bundle)
Expand Down

0 comments on commit bea4164

Please sign in to comment.