You must first generate a new project before using workspaces:
ng new my-app
import { Directive, OnDestroy } from '@angular/core'; | |
import { Subject } from 'rxjs'; | |
@Directive() | |
// tslint:disable-next-line:directive-class-suffix | |
export abstract class BaseComponent implements OnDestroy { | |
private destroy$: Subject<void> | null = null; | |
get destroy() { | |
if (!this.destroy$) { |
$ -> | |
class Brianflove | |
@_initialized = null | |
constructor: () -> | |
if @_initialized is not null | |
throw "Do not instantiate this class on your own" | |
@_initialized = true |
#!/bin/bash | |
################################################################################ | |
## | |
## Deploys the artifacts to the remote maven repository | |
## | |
## mvn deploy:deploy-file -DgroupId=${dependency.groupId} \ | |
## -DartifactId=${dependency.artifactId} \ | |
## -Dpackaging=${dependency.packaging} \ | |
## -Dversion=${dependency.version} \ |
#!/bin/bash | |
################################################################################ | |
## | |
## Installs the artifacts to the local maven repository | |
## | |
## mvn install:install-file -DgroupId=${dependency.groupId} \ | |
## -DartifactId=${dependency.artifactId} \ | |
## -Dpackaging=${dependency.packaging} \ | |
## -Dversion=${dependency.version} \ |