[Copy Files][Fixed] Problems when using with `compress`
- Wrong targets and dependencies.
This commit is contained in:
parent
fbcbf90504
commit
b6240d5fea
|
|
@ -53,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
Now all 2D variant stuff is applied before calling iBoM (#350)
|
Now all 2D variant stuff is applied before calling iBoM (#350)
|
||||||
- Copy_Files:
|
- Copy_Files:
|
||||||
- Problems on KiCad 5 (no 3rd party dir) (#357)
|
- Problems on KiCad 5 (no 3rd party dir) (#357)
|
||||||
|
- Problems with compress output (also Makefile) (#372)
|
||||||
- BoM:
|
- BoM:
|
||||||
- pre_transform filers can't be logic filters
|
- pre_transform filers can't be logic filters
|
||||||
- DOCs
|
- DOCs
|
||||||
|
|
|
||||||
|
|
@ -206,12 +206,13 @@ class Copy_FilesOptions(Base3DOptions):
|
||||||
return files
|
return files
|
||||||
|
|
||||||
def get_targets(self, out_dir):
|
def get_targets(self, out_dir):
|
||||||
|
self.output_dir = out_dir
|
||||||
files = self.get_files(no_out_run=True)
|
files = self.get_files(no_out_run=True)
|
||||||
return sorted([os.path.join(out_dir, v) for v in files.values()])
|
return sorted([os.path.join(out_dir, v) for _, v in files])
|
||||||
|
|
||||||
def get_dependencies(self):
|
def get_dependencies(self):
|
||||||
files = self.get_files(no_out_run=True)
|
files = self.get_files(no_out_run=True)
|
||||||
return files.keys()
|
return sorted([v for v, _ in files])
|
||||||
|
|
||||||
def run(self, output):
|
def run(self, output):
|
||||||
super().run(output)
|
super().run(output)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue