albacore 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/albacore/version.rb +1 -1
- data/resources/installSite.ps1 +3 -7
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b1a42269adc627c1f4e025c66ad10b973ca1668
|
|
4
|
+
data.tar.gz: 586c17f50cbcc10dd2fb998c64302844f043412f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0da81b4f4e93d7c32e040d5cd7b2bb534957e2e7b7fedc00a26d01bff1eea8a6ba6f5423629537fa85f0f519f9f5152de555fda5b9f1af02a4d1ecf756abdb2e
|
|
7
|
+
data.tar.gz: 3c932e2fc20639152bf5eb74d1f320f44d535e7e30b5786c3c86b98225be577336db550af04e6db35a0276ee25c3d5c1f8926de239923af6405c09c71c424c8d
|
data/lib/albacore/version.rb
CHANGED
data/resources/installSite.ps1
CHANGED
|
@@ -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
|
-
|
|
22
|
-
$parentDir = Split-Path -Parent $
|
|
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
|
+
|