albacore 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4746cc6a797c16e23c3a0dc1324b63f2197da52e
4
- data.tar.gz: af4ceedc10060de2a1a64ce461e196c96bf82e67
3
+ metadata.gz: 7b1a42269adc627c1f4e025c66ad10b973ca1668
4
+ data.tar.gz: 586c17f50cbcc10dd2fb998c64302844f043412f
5
5
  SHA512:
6
- metadata.gz: ffcbc1e64e71fea763f0cabb78b07401db53fda8145502236eb7ebffc09092840593213afde6ea38df26060c940d5893fdfb4b487ed84e48ed5d7c3f8e515efb
7
- data.tar.gz: 0b5e1b50cb05f68846e479931617c2aaa2c97c454778e2b75b795e117867605b07c8e29e7cafa2e9416a9154ecc147f9ba72a0d9ab70b8924510efa7761ffbe8
6
+ metadata.gz: 0da81b4f4e93d7c32e040d5cd7b2bb534957e2e7b7fedc00a26d01bff1eea8a6ba6f5423629537fa85f0f519f9f5152de555fda5b9f1af02a4d1ecf756abdb2e
7
+ data.tar.gz: 3c932e2fc20639152bf5eb74d1f320f44d535e7e30b5786c3c86b98225be577336db550af04e6db35a0276ee25c3d5c1f8926de239923af6405c09c71c424c8d
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.0.7"
2
+ VERSION = "2.0.8"
3
3
  end
@@ -4,10 +4,6 @@ Function Install-Site(
4
4
  # Folder where all your websites are located
5
5
  [string] $WebSiteRootFolder = "C:\WebSites",
6
6
 
7
- # Where the source files are -- without any trailing slash or otherwise --
8
- # just the name, please.
9
- [string] $CurrentPath = $(Get-Location).Path,
10
-
11
7
  # What domain name the site should bind to
12
8
  [string] $HostHeader,
13
9
 
@@ -18,9 +14,8 @@ Function Install-Site(
18
14
  [string] $SiteName
19
15
  ) {
20
16
 
21
- # relative to chocolatey
22
- $parentDir = Split-Path -Parent $CurrentPath
23
- # get sites content folder
17
+ $scriptDir = Split-Path -Parent $MyInvocation.PSCommandPath
18
+ $parentDir = Split-Path -Parent $scriptDir
24
19
  $source = Join-Path $parentDir "contents\*"
25
20
 
26
21
  #site folder
@@ -55,3 +50,4 @@ Function Install-Site(
55
50
  -ApplicationPool $siteAppPool -PhysicalPath $siteInstallLocation
56
51
  }
57
52
  }
53
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: albacore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrik Feldt