Skip to content
Permalink
Browse files

fix(core): fix make not respecting mas as a target platform

  • Loading branch information
MarshallOfSound committed May 1, 2018
1 parent 3f9ec6b commit 10b38765548e16173ba1e783623a1ac70cb61220
Showing with 3 additions and 3 deletions.
  1. +3 −3 packages/api/core/src/api/make.ts
@@ -85,7 +85,7 @@ export default async ({
} = {};
const targets = (overrideTargets || forgeConfig.makers.filter(
maker => maker.platforms
? maker.platforms.indexOf(platform) !== -1
? maker.platforms.indexOf(actualTargetPlatform) !== -1
: true
)).map((target) => {
if (typeof target === 'string') {
@@ -145,7 +145,7 @@ export default async ({
warn(interactive, 'WARNING: Skipping the packaging step, this could result in an out of date build'.red);
}

info(interactive, `Making for the following targets: ${`${targets.join(', ')}`.cyan}`);
info(interactive, `Making for the following targets: ${`${targets.map((t, i) => makers[i].name).join(', ')}`.cyan}`);

const packageJSON = await readPackageJSON(dir);
const appName = forgeConfig.packagerConfig.name || packageJSON.productName || packageJSON.name;
@@ -165,7 +165,7 @@ export default async ({
targetId += 1;

// eslint-disable-next-line no-loop-func
await asyncOra(`Making for target: ${maker.name} - On platform: ${actualTargetPlatform.cyan} - For arch: ${targetArch.cyan}`, async () => {
await asyncOra(`Making for target: ${maker.name.green} - On platform: ${actualTargetPlatform.cyan} - For arch: ${targetArch.cyan}`, async () => {
try {
const artifacts = await maker.make({
dir: packageDir,

0 comments on commit 10b3876

Please sign in to comment.
You can’t perform that action at this time.