@blockstack/clarity-native-bin
Advanced tools
Comparing version 0.3.6 to 0.3.7-clarion
@@ -6,2 +6,10 @@ # Change Log | ||
## 0.3.7 (2021-01-06) | ||
**Note:** Version bump only for package @blockstack/clarity-native-bin | ||
## 0.3.6 (2021-01-05) | ||
@@ -8,0 +16,0 @@ |
@@ -18,3 +18,4 @@ "use strict"; | ||
catch (error) { | ||
console.error(`Failed to install clarity-cli native binary: ${error}`); | ||
console.error(`Failed to install clarity-cli native binary:`); | ||
console.error(error); | ||
process.exit(1); | ||
@@ -21,0 +22,0 @@ } |
@@ -77,6 +77,8 @@ "use strict"; | ||
exports.moveFromPath = (opts) => { | ||
opts.logger.log(`Moving ${opts.inputFilePAth} to ${opts.outputFilePath}`); | ||
fs.moveSync(opts.inputFilePAth, opts.outputFilePath); | ||
opts.logger.log(`Copying ${opts.inputFilePAth} to ${opts.outputFilePath}`); | ||
const dirName = path.dirname(opts.outputFilePath); | ||
fs.mkdirpSync(dirName); | ||
fs.copyFileSync(opts.inputFilePAth, opts.outputFilePath); | ||
return true; | ||
}; | ||
//# sourceMappingURL=fsUtil.js.map |
@@ -6,3 +6,3 @@ import { ILogger } from "./logger"; | ||
*/ | ||
export declare const CORE_SDK_TAG = "v24.3.2.0-xenon"; | ||
export declare const CORE_SDK_TAG = "v24.3.3.0-xenon"; | ||
export declare const BLOCKSTACK_CORE_SOURCE_TAG_ENV_VAR = "BLOCKSTACK_CORE_SOURCE_TAG"; | ||
@@ -9,0 +9,0 @@ export declare const BLOCKSTACK_CORE_SOURCE_BRANCH_ENV_VAR = "BLOCKSTACK_CORE_SOURCE_BRANCH"; |
@@ -20,3 +20,3 @@ "use strict"; | ||
*/ | ||
exports.CORE_SDK_TAG = "v24.3.2.0-xenon"; | ||
exports.CORE_SDK_TAG = "v24.3.3.0-xenon"; | ||
exports.BLOCKSTACK_CORE_SOURCE_TAG_ENV_VAR = "BLOCKSTACK_CORE_SOURCE_TAG"; | ||
@@ -84,2 +84,10 @@ exports.BLOCKSTACK_CORE_SOURCE_BRANCH_ENV_VAR = "BLOCKSTACK_CORE_SOURCE_BRANCH"; | ||
const sourceOverride = getOverriddenCoreSource(); | ||
if (sourceOverride && sourceOverride.specifier === "path") { | ||
logger.log(`Found path source env var ${sourceOverride.specifier}=${sourceOverride.value}`); | ||
return fsUtil_1.moveFromPath({ | ||
logger, | ||
outputFilePath: installPath, | ||
inputFilePAth: sourceOverride.value, | ||
}); | ||
} | ||
if (sourceOverride !== false && sourceOverride.specifier !== "path") { | ||
@@ -117,9 +125,2 @@ logger.log(`Found git source env var ${sourceOverride.specifier}=${sourceOverride.value}`); | ||
} | ||
else if (sourceOverride && sourceOverride.specifier === "path") { | ||
success = fsUtil_1.moveFromPath({ | ||
logger, | ||
outputFilePath: installPath, | ||
inputFilePAth: sourceOverride.value, | ||
}); | ||
} | ||
else { | ||
@@ -126,0 +127,0 @@ success = await fetchDist_1.fetchDistributable({ |
{ | ||
"name": "@blockstack/clarity-native-bin", | ||
"version": "0.3.6", | ||
"version": "0.3.7-clarion", | ||
"description": "Library for providing the native Clarity CLI binary", | ||
@@ -74,4 +74,3 @@ "author": "Blockstack <engineering@blockstack.com> (https://blockstack.com/)", | ||
] | ||
}, | ||
"gitHead": "b3e213060b9adcc9237c3187ff4af67a7b8ea3e2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
937
58446
34