mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-10-22 11:46:18 +00:00
fix: update header pattern to allow 'authors & contributors' suffix
This commit is contained in:
1 parent
49a6fd372f
commit
60f7beb120
70 files changed
+246
-246
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env node
|
||||
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
|
||||
import { copyDirSync, logBin, rimrafSync } from './util.mjs';
|
||||
|
||||
logBin('pezkuwi-dev-build-docs');
|
||||
|
||||
let docRoot = path.join(process.cwd(), 'docs');
|
||||
|
||||
if (fs.existsSync(docRoot)) {
|
||||
docRoot = path.join(process.cwd(), 'build-docs');
|
||||
|
||||
rimrafSync(docRoot);
|
||||
copyDirSync(path.join(process.cwd(), 'docs'), docRoot);
|
||||
}
|
||||
Reference in new issue
Block a user