@vernier/conan-config
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "@vernier/conan-config", | ||
"type": "module", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Common Vernier configuration for Conan", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -18,4 +18,4 @@ #!/usr/bin/env node | ||
function errorAndExit(message) { | ||
shell.echo(message.error); | ||
shell.exit(1); | ||
console.error(message.error); | ||
process.exit(1); | ||
} | ||
@@ -25,6 +25,6 @@ | ||
function verifyConan() { | ||
shell.echo('Verifying Conan is installed'); | ||
console.log('Verifying Conan is installed'); | ||
let conanVer = shell.exec(`${conan} --version`, pref); | ||
if (conanVer.code !== 0) { | ||
shell.echo(`Conan is required, we will try to install it.`.warn); | ||
console.log(`Conan is required, we will try to install it.`.warn); | ||
let pipVer = shell.exec(`${pip} --version`, pref); | ||
@@ -38,3 +38,3 @@ if (pipVer.code !== 0) { | ||
} | ||
shell.echo(`${pipVer.stdout}`); | ||
console.log(`${pipVer.stdout}`); | ||
shell.exec(`${pip} install --upgrade ${conan}`, pref); | ||
@@ -47,7 +47,7 @@ conanVer = shell.exec(`${conan} --version`, pref); | ||
} | ||
shell.echo(`${conanVer.stdout}`); | ||
console.log(`${conanVer.stdout}`); | ||
} | ||
function installConanProfiles(rootDir) { | ||
shell.echo('Installing Conan profile files from vst-conan-setup'); | ||
console.log('Installing Conan profile files ...'); | ||
shell.cd(rootDir); | ||
@@ -63,3 +63,3 @@ if (shell.exec(`${conan} config install .`, pref).code !== 0) { | ||
// Get the last vst-conan-setup and install the profiles so we have the latest. | ||
shell.echo('Setup vst-native-modules'.info); | ||
console.log('Setup vst-native-modules'.info); | ||
@@ -69,3 +69,3 @@ verifyConan(); | ||
shell.echo('Setup is complete'.success); | ||
console.log('Setup is complete'.success); | ||
})(); |
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
15357