ant-design/tests/dekko/dist.test.js
zombieJ 778c2b1dff
build: Update build process for publish (#15807)
* use .antd-tools.config.js

* update style

* add minssing files

* move compile content to compile script
2019-04-02 19:04:38 +08:00

16 lines
374 B
JavaScript

const $ = require('dekko');
const chalk = require('chalk');
$('dist')
.isDirectory()
.hasFile('antd-with-locales.js')
.hasFile('antd-with-locales.min.js')
.hasFile('antd.css')
.hasFile('antd.min.css')
.hasFile('antd.js')
.hasFile('antd.min.js')
.hasFile('antd.less');
// eslint-disable-next-line
console.log(chalk.green('✨ `dist` directory is valid.'));