Skip to content

Commit

Permalink
Add pbi-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
flcdrg committed Jan 10, 2023
1 parent cd2eb80 commit b879506
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pbi-tools/pbi-tools.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>pbi-tools</id>
<version>1.0.0-rc02</version>
<packageSourceUrl>https://github.com/flcdrg/au-packages/tree/master/pbi-tools</packageSourceUrl>
<owners>flcdrg</owners>
<title>pbi-tools</title>
<authors>Mathias Thierbach</authors>
<projectUrl>https://pbi.tools/</projectUrl>
<iconUrl>https://pbi.tools/images/company_logo.png</iconUrl>
<copyright>Mathias Thierbach</copyright>
<licenseUrl>https://raw.githubusercontent.com/pbi-tools/pbi-tools/main/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<projectSourceUrl>https://github.com/pbi-tools/pbi-tools</projectSourceUrl>
<docsUrl>https://pbi.tools/cli/</docsUrl>
<bugTrackerUrl>https://github.com/pbi-tools/pbi-tools/issues</bugTrackerUrl>
<tags>power-bi business intelligence</tags>
<summary>a command-line tool bringing source-control features to Power BI. It works alongside Power BI Desktop and enables mature enterprise workflows for Power BI projects.</summary>
<description>`pbi-tools` is a command-line tool bringing source-control features to Power BI. It works alongside Power BI Desktop and enables mature enterprise workflows for Power BI projects.

### Prerequisites

- Windows 64-bit
- Power BI Desktop 64-bit. Installer version (default location) and/or Windows Store version supported. Optionally, pbi-tools works with Power BI Desktop in a custom location, provided the path is specified in the `PBITOOLS_PbiInstallDir` environment variable.
- .Net Framework Runtime 4.7.2 (Comes with Power BI Desktop)
</description>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
17 changes: 17 additions & 0 deletions pbi-tools/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'pbi-tools*'
fileType = 'zip'
silentArgs = ''

validExitCodes= @(0)
url64 = "https://github.com/pbi-tools/pbi-tools/releases/download/1.0.0-rc.2/pbi-tools.1.0.0-rc.2.zip" #download URL, HTTPS preferrred
checksum64 = '2DA0061A53C17BA1B2840BF89EF58B496F9AAB1355FB09A16094D3E3FFB6E934'
checksumType64= 'sha256'
destination = $toolsDir
}

Install-ChocolateyZipPackage @packageArgs

0 comments on commit b879506

Please sign in to comment.