Mercurial > piecrust2
comparison piecrust/processing/less.py @ 1048:63be34ce6e65
bake: Don't add outputs as dependencies, duh.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 26 Jan 2018 18:00:43 -0800 |
parents | 4850f8c21b6e |
children | a3dec0fbd9ce |
comparison
equal
deleted
inserted
replaced
1047:ba809c221a27 | 1048:63be34ce6e65 |
---|---|
49 path_dir = os.path.dirname(path) | 49 path_dir = os.path.dirname(path) |
50 | 50 |
51 def _makeAbs(p): | 51 def _makeAbs(p): |
52 return os.path.join(path_dir, p) | 52 return os.path.join(path_dir, p) |
53 deps = list(map(_makeAbs, sources)) | 53 deps = list(map(_makeAbs, sources)) |
54 return [map_path] + deps | 54 return deps |
55 | 55 |
56 def _doProcess(self, in_path, out_path): | 56 def _doProcess(self, in_path, out_path): |
57 self._ensureInitialized() | 57 self._ensureInitialized() |
58 | 58 |
59 map_path = self._getMapPath(in_path) | 59 map_path = self._getMapPath(in_path) |