Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pselibas committed Dec 18, 2021
1 parent 995171c commit 6112d50
Showing 1 changed file with 44 additions and 2 deletions.
46 changes: 44 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,44 @@
# bblocal
Run Bitbucket pipeline files locally
# Run Bitbucket Pipeline Locally
It can be a slow process when developing a bitbucket-pipeline.xml file.
The intention of this tool is to run a bitbucket-pipeline.xml file locally in order to speed up the development process.

---
**WARNING**

Do not use this tool to generate and build your software that you plan to use in production.

This project is still a work in progress and still incomplete.

---

## Install

Install `bblocal` with `npm`:

```bash
$ npm install -g bblocal
```

## Usage

```
Usage: bblocal [options]
An application for running bitbucket pipeline files locally. This tool is intended to help debug and create pipeline files.
Options:
-V, --version output the version number
-f, --file <file> bitbucket pipeline file (default: "bitbucket-pipelines.yml")
-p, --pipeline <pipeline> Specify which pipeline to execute (default: "default")
-s, --source <source folder> Specify the source folder (default: "./")
-a, --artifacts <target artifact tar> Location of artifacts tar file (default: "./.bblocal/artifacts.tar")
-c, --cache <cache folder> Folder to store cache for this build (default: "./.bblocal/cache")
-h, --help display help for command
```

## Logic
1. Step 1 //TODO

## Acknowledgements
- Inspiration for this project was take from [this project](https://github.com/mserranom/bbrun)

0 comments on commit 6112d50

Please sign in to comment.