Skip to content

Commit ef45213

Browse files
authored
Update packaging.md
1 parent 8920c69 commit ef45213

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/dev_guide/packaging.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Run the following command to setup the base
3838
choco new --name="apidash" --version="0.3.0" maintainername="foss42" maintainerrepo="https://github.com/foss42/apidash" --built-in-template
3939
```
4040

41-
![choco folder structure](../dev_guide/images/choco_create_structure.png)
41+
![choco folder structure](images/choco_create_structure.png)
4242

4343
This creates the following folder structure
4444

@@ -62,20 +62,19 @@ The files of our main interest are `chocolateyinstall.ps1` and `apidash.nuspec`.
6262
### Step 2: Editing `chocolateyinstall.ps1`
6363

6464
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)
6666

6767
Comments can bre remoed using the following command.
6868
```powershell
6969
$f='apidash\tools\chocolateyinstall.ps1'
7070
gc $f | ? {$_ -notmatch "^\s*#"} | % {$_ -replace '(^.*?)\s*? [^``]#.*','$1'} | Out-File $f+".~" -en utf8; mv -fo $f+".~" $f
7171
```
7272

73-
7473
Now our `chocolateyinstall.ps1` file is ready.
7574

7675
### Step 3: Editing `apidash.nuspec`
7776

78-
![final apidash.nuspec](../dev_guide/images/choco_nuspec.png)
77+
![final apidash.nuspec](images/choco_nuspec.png)
7978

8079
### Step 4: Build the package
8180

@@ -95,7 +94,7 @@ choco install apidash -s .
9594
```
9695
Ensure the application installs correctly.
9796

98-
![Shell output](../dev_guide/images/choco_shell_output.png)
97+
![Shell output](images/choco_shell_output.png)
9998

10099
### Step 6: Pre-Publishing - Update `LICENSE.txt` & `VERIFICATION.txt`
101100

0 commit comments

Comments
 (0)