Skip to content

Commit

Permalink
🐛 Build up the dist/ structure if dev has not been run
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Oct 31, 2023
1 parent 2b05b80 commit 1a62902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ await rm(omnijar)
info('Setting up symlinks...')
const contentDir = getArtifactFile('chrome/browser/content/browser')
const contentDirDist = getDistFile('browser_content')
await mkdir(contentDirDist, { recursive: true })
await rm(contentDir, { recursive: true, force: true })
await symlink(contentDirDist, contentDir)

const settingsDir = join(contentDir, 'settings')
const settingsDirDist = getDistFile('settings')
await mkdir(contentDirDist, { recursive: true })
await rm(settingsDir, { recursive: true, force: true })
await symlink(settingsDirDist, settingsDir)

Expand Down

0 comments on commit 1a62902

Please sign in to comment.