Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
docs: updating README.md to new earthly targets
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 committed Dec 30, 2023
1 parent 8e7e3b3 commit bd6acb6
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ After the access token is set we can then execute the binary to perform the roun
E.g.

```sh
earthly +compiling-darwin-amd64
earthly +compile
export ACCESS_TOKEN="123"
./starling-bank-technical-challenge --log-level "DEBUG"
./dist/starling-bank-technical-challenge_${architecture}/starlingbanktechnicalchallenge --log-level "DEBUG"
```

### Usage - Logging
Expand Down Expand Up @@ -178,18 +178,10 @@ earthly +fix-modules
```

#### Compile
You can compile the source code into a binary for an architecture by running the command.
You can compile the source code into binaries for all supported architectures by running the command.

```sh
earthly +compile-${architecture}
```

The available architectures are `linux-amd64` and `darwin-amd64`.

*E.g.*

```sh
earthly +compile-linux-amd64
earthly +compile
```

#### Unit Test
Expand Down

0 comments on commit bd6acb6

Please sign in to comment.