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

Commit

Permalink
fix: only use linux targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 25, 2018
1 parent ac9c5f3 commit 1e9b078
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/pack/deb.ts
Expand Up @@ -47,7 +47,9 @@ export default class PackDeb extends Command {
await qq.x(`dpkg --build "${workspace}" "${qq.join(dist, `${versionedDebBase}.deb`)}"`)
}

const arches = _.uniq(buildConfig.targets.map(t => t.arch))
const arches = _.uniq(buildConfig.targets
.filter(t => t.platform === 'linux')
.map(t => t.arch))
for (let a of arches) await build(a)

await qq.x('apt-ftparchive packages . > Packages', {cwd: dist})
Expand Down

0 comments on commit 1e9b078

Please sign in to comment.