Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Move foreach_yarn to plugins folder
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <tmader@redhat.com>
  • Loading branch information
tsmaeder committed Mar 26, 2021
1 parent 4d97e39 commit ef8d15e
Show file tree
Hide file tree
Showing 4 changed files with 2,286 additions and 520 deletions.
4 changes: 2 additions & 2 deletions generator/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class Init {
}

async generate() {
const srcDir = path.resolve(__dirname, '../src');
const pluginSrc = path.resolve(__dirname, '../../plugins');

await generateAssembly(
this.examplesAssemblyFolder,
Expand All @@ -50,7 +50,7 @@ export class Init {

// copy build all plugins scripts
await fs.ensureDir(this.pluginsFolder);
await fs.copy(path.join(srcDir, 'foreach_yarn'), path.join(this.pluginsFolder, 'foreach_yarn'));
await fs.copy(path.join(pluginSrc, 'foreach_yarn'), path.join(this.pluginsFolder, 'foreach_yarn'));
}

async updadeBuildConfiguration(extensions: ISource[]): Promise<void> {
Expand Down
File renamed without changes.
Loading

0 comments on commit ef8d15e

Please sign in to comment.