@@ -38,7 +38,7 @@ Run the following command to setup the base
38
38
choco new --name="apidash" --version="0.3.0" maintainername="foss42" maintainerrepo="https://github.com/foss42/apidash" --built-in-template
39
39
```
40
40
41
- ![ choco folder structure] ( ../dev_guide/ images/choco_create_structure.png)
41
+ ![ choco folder structure] ( images/choco_create_structure.png )
42
42
43
43
This creates the following folder structure
44
44
@@ -62,20 +62,19 @@ The files of our main interest are `chocolateyinstall.ps1` and `apidash.nuspec`.
62
62
### Step 2: Editing ` chocolateyinstall.ps1 `
63
63
64
64
Take a look at ` chocolateyinstall.ps1 ` file. There are many comments stating the use case of each line itself.
65
- ![ chocolatelyinstall.ps1] ( ../dev_guide/ images/choco_chocolateyinstall_ps1.png)
65
+ ![ chocolatelyinstall.ps1] ( images/choco_chocolateyinstall_ps1.png )
66
66
67
67
Comments can bre remoed using the following command.
68
68
``` powershell
69
69
$f='apidash\tools\chocolateyinstall.ps1'
70
70
gc $f | ? {$_ -notmatch "^\s*#"} | % {$_ -replace '(^.*?)\s*? [^``]#.*','$1'} | Out-File $f+".~" -en utf8; mv -fo $f+".~" $f
71
71
```
72
72
73
-
74
73
Now our ` chocolateyinstall.ps1 ` file is ready.
75
74
76
75
### Step 3: Editing ` apidash.nuspec `
77
76
78
- ![ final apidash.nuspec] ( ../dev_guide/ images/choco_nuspec.png)
77
+ ![ final apidash.nuspec] ( images/choco_nuspec.png )
79
78
80
79
### Step 4: Build the package
81
80
@@ -95,7 +94,7 @@ choco install apidash -s .
95
94
```
96
95
Ensure the application installs correctly.
97
96
98
- ![ Shell output] ( ../dev_guide/ images/choco_shell_output.png)
97
+ ![ Shell output] ( images/choco_shell_output.png )
99
98
100
99
### Step 6: Pre-Publishing - Update ` LICENSE.txt ` & ` VERIFICATION.txt `
101
100
0 commit comments