Skip to content

Commit

Permalink
docs: update package binaries instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ANGkeith committed Nov 15, 2024
1 parent 295d7fe commit 0c288f8
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Get rid of all those dev specific shell scripts and make files.
* [Self Hosted Custom Ports](#self-hosted-custom-ports)
* [Development](#development)
* [Scripts](#scripts)
* [Package binaries](#package-binaries)
* [Creating single executable binaries from source](#creating-single-executable-binaries-from-source)

## Installation

Expand Down Expand Up @@ -399,19 +399,26 @@ npm install
# Run all tests
npm run test
# Run the program with hot-reloading enabled using the `.gitlab-ci.yml` in the root directory
npm run dev

# Pass --help flag into the program
npm run dev -- -- --help # (equivalent of gitlab-ci-local --help)

# Run individual test-case
npx jest tests/test-cases/cache-paths-not-array
```

![example](./docs/images/example.png)

It's also possible to run individual `.gitlab-ci.yml`, via `node src/index.js --cwd examples/docker-compose-nodejs`

### Package binaries
It's also possible to run individual `.gitlab-ci.yml`, via `npx tsx src/index.ts --cwd examples/docker-compose-nodejs`

## Creating single executable binaries from source
```bash
npm run esbuild
npm run pkg-linux
npm run pkg-win
npm run pkg-macos
npm run pkg-all
# the binary will be generated in the respective ./bin/<os>/gitlab-ci-local
```

0 comments on commit 0c288f8

Please sign in to comment.