Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
chore(tidy): lint
Browse files Browse the repository at this point in the history
run lint script
  • Loading branch information
eddier committed Mar 3, 2017
1 parent 1f71dd2 commit 0ad1a9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ module.exports = {
},
octagon_componentCss (opts) {
opts = opts || {}
const outputDir = path.join(this.componentDist,'styles','components');
const inputDir = path.join(this.projectRoot, 'src','styles','components','*.css');
const outputDir = path.join(this.componentDist, 'styles', 'components')
const inputDir = path.join(this.projectRoot, 'src', 'styles', 'components', '*.css')
const args = [this.getBin('postcss'), inputDir, '-d', outputDir, '-c', this.postCssConfig]
return Promise.resolve()
.then(() => mkdirp(this.componentDist))
.then(() => exec(args.join(' '), { cwd: this.projectRoot, stdio: 'inherit' }))
.then(([stdout]) => console.log(stdout))
},
octagon_copyAssets (opts) {
const assetSource = path.join(this.projectRoot, 'src','assets');
const assetSource = path.join(this.projectRoot, 'src', 'assets')
return Promise.resolve('success')
.then(() => copy(assetSource, this.assetsDist))
}
Expand Down

0 comments on commit 0ad1a9c

Please sign in to comment.