Commit 703b1a78 authored by Cole Bemis's avatar Cole Bemis

build: Update build logs

parent 9dffc53b
...@@ -6,7 +6,7 @@ import buildIconsObject from './build-icons-object'; ...@@ -6,7 +6,7 @@ import buildIconsObject from './build-icons-object';
const IN_DIR = path.resolve(__dirname, '../icons'); const IN_DIR = path.resolve(__dirname, '../icons');
const OUT_FILE = path.resolve(__dirname, '../dist/icons.json'); const OUT_FILE = path.resolve(__dirname, '../dist/icons.json');
console.log(`Building ${OUT_FILE}`); console.log(`Building ${OUT_FILE}...`);
const svgFiles = fs const svgFiles = fs
.readdirSync(IN_DIR) .readdirSync(IN_DIR)
......
...@@ -5,6 +5,6 @@ import buildSpriteString from './build-sprite-string'; ...@@ -5,6 +5,6 @@ import buildSpriteString from './build-sprite-string';
const OUT_FILE = path.resolve(__dirname, '../dist/feather-sprite.svg'); const OUT_FILE = path.resolve(__dirname, '../dist/feather-sprite.svg');
console.log(`Building ${OUT_FILE}`); console.log(`Building ${OUT_FILE}...`);
fs.writeFileSync(OUT_FILE, buildSpriteString(icons)); fs.writeFileSync(OUT_FILE, buildSpriteString(icons));
...@@ -4,7 +4,7 @@ import icons from '../src/icons'; ...@@ -4,7 +4,7 @@ import icons from '../src/icons';
const OUT_DIR = path.resolve(__dirname, '../dist/icons'); const OUT_DIR = path.resolve(__dirname, '../dist/icons');
console.log(`Building SVGs in ${OUT_DIR}`); console.log(`Building SVGs in ${OUT_DIR}...`);
Object.keys(icons).forEach(name => { Object.keys(icons).forEach(name => {
const svg = icons[name].toSvg(); const svg = icons[name].toSvg();
......
...@@ -5,7 +5,7 @@ import processSvg from './process-svg'; ...@@ -5,7 +5,7 @@ import processSvg from './process-svg';
const IN_DIR = path.resolve(__dirname, '../icons'); const IN_DIR = path.resolve(__dirname, '../icons');
console.log(`Processing SVGs in ${IN_DIR}`); console.log(`Processing SVGs in ${IN_DIR}...`);
fs fs
.readdirSync(IN_DIR) .readdirSync(IN_DIR)
......
...@@ -8,10 +8,10 @@ if ( ...@@ -8,10 +8,10 @@ if (
process.env.TRAVIS_PULL_REQUEST === 'false' && process.env.TRAVIS_PULL_REQUEST === 'false' &&
process.env.TRAVIS_BRANCH === 'master' process.env.TRAVIS_BRANCH === 'master'
) { ) {
console.log('Syncing Algolia records'); console.log('Syncing Algolia records...');
syncAlgolia(); syncAlgolia();
} else { } else {
console.log('Skipped Algolia sync'); console.log('Skipped Algolia sync.');
} }
function syncAlgolia() { function syncAlgolia() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment