Skip to content

Commit e69f35d

Browse files
authored
Merge pull request #59 from enrico9034/pkg-support
Pkg support
2 parents 9f2f988 + 7e35f75 commit e69f35d

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ $ npm install ./readme-generator-for-helm
5050

5151
Depending on how you installed NodeJS in your system, you may need to modify your `PATH` environment variable to be able to execute the tool.
5252

53+
## Single Binary
54+
55+
Execute the following commands to create a single executable binary for the tool:
56+
57+
```console
58+
$ git clone https://github.com/bitnami-labs/readme-generator-for-helm
59+
$ cd ./readme-generator-for-helm
60+
$ npm install -g pkg
61+
$ pkg . -o readme-generator-for-helm
62+
```
63+
5364
## Test
5465

5566
We use [Jest](https://jestjs.io) to implement the tests. In order to test your changes, execute the following command:

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,10 @@
4545
"bugs": {
4646
"url": "https://github.com/bitnami-labs/readme-generator-for-helm/issues"
4747
},
48-
"homepage": "https://github.com/bitnami-labs/readme-generator-for-helm#readme"
48+
"homepage": "https://github.com/bitnami-labs/readme-generator-for-helm#readme",
49+
"pkg": {
50+
"assets": [
51+
"config.json"
52+
]
53+
}
4954
}

0 commit comments

Comments
 (0)