You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
430 B

const path = require('path');
const fs = require('fs');
const root = path.resolve(__dirname, '..', '..');
const librdkafkaPath = path.resolve(root, 'deps', 'librdkafka');
// Ensure librdkafka is in the deps directory - this makes sure we don't accidentally
// publish on a non recursive clone :)
if (!fs.existsSync(librdkafkaPath)) {
console.error(`Could not find librdkafka at path ${librdkafkaPath}`);
process.exit(1);
}