50c057184c
* feat(Icons removal): Removed all related icons commands and files * chore: fix (remove) all gulp related imports and task for icons * chore: removed extensions folder and switch all imports (+ small fixes) * chore: re-added defaults.json on root * feat(Icons removal): Added vsc-material-theme-icons dependency
24 lines
686 B
TypeScript
24 lines
686 B
TypeScript
import * as fs from 'fs';
|
|
import * as path from 'path';
|
|
import * as gulp from 'gulp';
|
|
|
|
import {PATHS} from '../../src/consts/paths';
|
|
import {ensureDir} from '../../src/helpers/fs';
|
|
|
|
export default gulp.task('build:copy-ui', callback => {
|
|
try {
|
|
ensureDir(path.resolve(PATHS.UI));
|
|
fs.copyFileSync(
|
|
path.join(PATHS.SRC, 'webviews', 'ui', 'release-notes', 'release-notes.html'),
|
|
path.join(PATHS.UI, 'release-notes.html')
|
|
);
|
|
fs.copyFileSync(
|
|
path.join(PATHS.SRC, 'webviews', 'ui', 'release-notes', 'style.css'),
|
|
path.join(PATHS.UI, 'release-notes.css')
|
|
);
|
|
} catch (error) {
|
|
return callback(error);
|
|
}
|
|
|
|
callback();
|
|
});
|