Skip to content

Commit

Permalink
fix: build (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmeku authored Jul 16, 2019
1 parent ad42b1f commit fc87f6b
Show file tree
Hide file tree
Showing 5 changed files with 540 additions and 509 deletions.
32 changes: 28 additions & 4 deletions libs/feature-run/src/lib/target/target.component.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
import { Architect, Project } from '@angular-console/schema';
import { CommandOutputComponent, FlagsComponent, TaskRunnerComponent } from '@angular-console/ui';
import { CommandRunner, IncrementalCommandOutput, Serializer } from '@angular-console/utils';
import { ChangeDetectionStrategy, Component, OnInit, ViewChild } from '@angular/core';
import {
CommandOutputComponent,
FlagsComponent,
TaskRunnerComponent
} from '@angular-console/ui';
import {
CommandRunner,
IncrementalCommandOutput,
Serializer
} from '@angular-console/utils';
import {
ChangeDetectionStrategy,
Component,
OnInit,
ViewChild
} from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { ContextualActionBarService } from '@nrwl/angular-console-enterprise-frontend';
import { BehaviorSubject, Observable, of, Subject } from 'rxjs';
import { map, publishReplay, refCount, switchMap, tap, withLatestFrom } from 'rxjs/operators';
import {
map,
publishReplay,
refCount,
switchMap,
tap,
withLatestFrom
} from 'rxjs/operators';

import { ProjectsGQL, RunNgGQL } from '../generated/graphql';

Expand Down Expand Up @@ -158,6 +178,10 @@ export class TargetComponent implements OnInit {
}

initSourceMapAndStatsJson(architect: Architect) {
if (architect.name !== 'build') {
return;
}

const defaultValues = architect.configurations[0]
? architect.configurations[0].defaultValues
: [];
Expand Down
Loading

0 comments on commit fc87f6b

Please sign in to comment.