firefly-compiler 0.5.38 → 0.5.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/compiler/Builder.ff
CHANGED
|
@@ -62,7 +62,6 @@ processIncludes(jsPathFile: Path, packagePath: Path, info: PackageInfo) {
|
|
|
62
62
|
info.includes.each {include =>
|
|
63
63
|
let fromPath = packagePath.slash(".firefly").slash("include").slash(include.path)
|
|
64
64
|
let toPath = jsPathFile.slash(info.package.packagePair.groupName("/")).slash(include.path)
|
|
65
|
-
Log.debug("Linking: " + fromPath.absolutePath + " -> " + toPath.absolutePath)
|
|
66
65
|
toPath.createSymlinkTo(fromPath, junction = True)
|
|
67
66
|
}
|
|
68
67
|
}
|
package/core/Path.ff
CHANGED
|
@@ -167,6 +167,7 @@ extend self: Path {
|
|
|
167
167
|
file.path().copyTo(path.slash(file.path().relativeTo(self)), retries, retryDelay)
|
|
168
168
|
}
|
|
169
169
|
} elseIf {self.isSymbolicLink()} {
|
|
170
|
+
Log.debug("Copying link: " + path.absolutePath + " -> " + self.path(self.readSymbolicLink()).absolutePath)
|
|
170
171
|
path.createSymlinkTo(self.path(self.readSymbolicLink()), junction = True)
|
|
171
172
|
} else {
|
|
172
173
|
path.writeStream(self.readStream())
|
|
@@ -163,7 +163,6 @@ for(let for_a = info_.includes_, for_i = 0, for_l = for_a.length; for_i < for_l;
|
|
|
163
163
|
const include_ = for_a[for_i];
|
|
164
164
|
const fromPath_ = ff_core_Path.Path_slash(ff_core_Path.Path_slash(ff_core_Path.Path_slash(packagePath_, ".firefly"), "include"), include_.path_);
|
|
165
165
|
const toPath_ = ff_core_Path.Path_slash(ff_core_Path.Path_slash(jsPathFile_, ff_compiler_Syntax.PackagePair_groupName(info_.package_.packagePair_, "/")), include_.path_);
|
|
166
|
-
ff_core_Log.debug_(((("Linking: " + fromPath_.absolutePath_) + " -> ") + toPath_.absolutePath_));
|
|
167
166
|
ff_core_Path.Path_createSymlinkTo(toPath_, fromPath_, true)
|
|
168
167
|
}
|
|
169
168
|
}
|
|
@@ -386,7 +385,6 @@ for(let for_a = info_.includes_, for_i = 0, for_l = for_a.length; for_i < for_l;
|
|
|
386
385
|
const include_ = for_a[for_i];
|
|
387
386
|
const fromPath_ = (await ff_core_Path.Path_slash$((await ff_core_Path.Path_slash$((await ff_core_Path.Path_slash$(packagePath_, ".firefly", $task)), "include", $task)), include_.path_, $task));
|
|
388
387
|
const toPath_ = (await ff_core_Path.Path_slash$((await ff_core_Path.Path_slash$(jsPathFile_, ff_compiler_Syntax.PackagePair_groupName(info_.package_.packagePair_, "/"), $task)), include_.path_, $task));
|
|
389
|
-
ff_core_Log.debug_(((("Linking: " + fromPath_.absolutePath_) + " -> ") + toPath_.absolutePath_));
|
|
390
388
|
(await ff_core_Path.Path_createSymlinkTo$(toPath_, fromPath_, true, $task))
|
|
391
389
|
}
|
|
392
390
|
}
|
|
@@ -528,6 +528,7 @@ ff_core_Stream.Stream_each(ff_core_Path.Path_entries(self_), ((file_) => {
|
|
|
528
528
|
ff_core_Path.Path_copyTo(ff_core_Path.PathEntry_path(file_), ff_core_Path.Path_slash(path_, ff_core_Path.Path_relativeTo(ff_core_Path.PathEntry_path(file_), self_)), retries_, retryDelay_)
|
|
529
529
|
}))
|
|
530
530
|
} else if(ff_core_Path.Path_isSymbolicLink(self_)) {
|
|
531
|
+
ff_core_Log.debug_(((("Copying link: " + path_.absolutePath_) + " -> ") + ff_core_Path.Path_path(self_, ff_core_Path.Path_readSymbolicLink(self_)).absolutePath_));
|
|
531
532
|
ff_core_Path.Path_createSymlinkTo(path_, ff_core_Path.Path_path(self_, ff_core_Path.Path_readSymbolicLink(self_)), true)
|
|
532
533
|
} else {
|
|
533
534
|
ff_core_Path.Path_writeStream(path_, ff_core_Path.Path_readStream(self_), false)
|
|
@@ -829,6 +830,7 @@ if((await ff_core_Path.Path_exists$(path_, false, false, false, $task))) {
|
|
|
829
830
|
(await ff_core_Path.Path_copyTo$((await ff_core_Path.PathEntry_path$(file_, $task)), (await ff_core_Path.Path_slash$(path_, (await ff_core_Path.Path_relativeTo$((await ff_core_Path.PathEntry_path$(file_, $task)), self_, $task)), $task)), retries_, retryDelay_, $task))
|
|
830
831
|
}), $task))
|
|
831
832
|
} else if((await ff_core_Path.Path_isSymbolicLink$(self_, $task))) {
|
|
833
|
+
ff_core_Log.debug_(((("Copying link: " + path_.absolutePath_) + " -> ") + (await ff_core_Path.Path_path$(self_, (await ff_core_Path.Path_readSymbolicLink$(self_, $task)), $task)).absolutePath_));
|
|
832
834
|
(await ff_core_Path.Path_createSymlinkTo$(path_, (await ff_core_Path.Path_path$(self_, (await ff_core_Path.Path_readSymbolicLink$(self_, $task)), $task)), true, $task))
|
|
833
835
|
} else {
|
|
834
836
|
(await ff_core_Path.Path_writeStream$(path_, (await ff_core_Path.Path_readStream$(self_, $task)), false, $task))
|
package/package.json
CHANGED