Skip to content

Commit

Permalink
Create the exaples dir
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jan 2, 2020
1 parent f82cfc5 commit 2f38c8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/playground-examples/scripts/copyFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const copyDir = join(__dirname, '..', 'copy', '*')
const jsonDir = join(__dirname, '..', 'generated', '*.json')
const outDir = join(__dirname, '..', '..', 'typescriptlang-org', 'static', 'js', 'examples')

// This can safely fail
execSync(`mkdir ${outDir}`)

// Move samples
execSync(`cp -R ${copyDir} ${outDir}`)

Expand Down

0 comments on commit 2f38c8f

Please sign in to comment.