Build/Invoke-NewNavAppPackageFromGit.ps1

Param(
    [Parameter(Mandatory=$true,Position=1)]
    [string]$RepoName,
    [Parameter(Mandatory=$true,Position=2)]
    [string]$BuildArtifactPath
)

Import-Module 'C:\TFS\TFS Tools\Tecman.TFS.Tools.psm1'
Import-Module "C:\NAV Dev Environments\NAV Clients\2018\RTM\Microsoft.Dynamics.Nav.Apps.Tools.psd1"
Import-Module "C:\NAV Dev Environments\NAV Clients\2018\RTM\Microsoft.Dynamics.Nav.Model.Tools.psd1"

New-NavAppPackageFromGit -RepoPath (Get-Location) -AppPath $BuildArtifactPath -BasePath (Get-GitRepoBasePath $RepoName) -CopyDependenciesToAppPath