Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance: shell markdown #64

Merged
merged 2 commits into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ aren't required.

## 3.1 MacOS

```bash
```sh
# Disable warnings as error, these warning are from the CppRestSdk dependency
$ cmake . -G Ninja -D CMAKE_CXX_FLAGS="-w"
$ ninja GetIt
cmake . -G Ninja -D CMAKE_CXX_FLAGS="-w"
ninja GetIt
```

This will create the `./bin/GetIt.app` file. This can be executed by double-clicking it in Finder.
Expand All @@ -111,9 +111,9 @@ The following steps have not been tested yet, if you follow these steps, and it
to remove this warning. If these steps don't work, and you've got a working solution. Please also open a PR to
include your steps here.

```bash
$ cmake . -G Ninja
$ ninja GetIt
```sh
cmake . -G Ninja
ninja GetIt
```

This will create the `./bin/GetIt` binary file. It can be executed by either running `./bin/GetIt` from the terminal
Expand All @@ -127,9 +127,9 @@ The following steps have not been tested yet, if you follow these steps, and it
to remove this warning. If these steps don't work, and you've got a working solution. Please also open a PR to
include your steps here.

```bash
$ cmake . -G Ninja
$ ninja GetIt
```sh
cmake . -G Ninja
ninja GetIt
```

This will create the `./bin/GetIt.exe` executable. It can be executed by double-clicking the file from Explorer.
Expand All @@ -141,8 +141,8 @@ This will create the `./bin/GetIt.exe` executable. It can be executed by double-
Build the MacOS app bundle with all dependencies and framework included by running the `package.sh` script
in the MacOS packaging folder.

```bash
$ zsh ./packaging/macos/package.sh
```sh
sh ./packaging/macos/package.sh
```

This will create the `./bin/GetIt.app` app bundle with all required dependencies. This file can be distributed across
Expand All @@ -164,12 +164,12 @@ a PR or when directly pushing to the main branch (which should __NEVER__ be done

To execute these tests manually you need to specify the `getit_tests` build target.

```bash
$ cmake . -G Ninja
$ ninja getit_tests
```sh
cmake . -G Ninja
ninja getit_tests

# Execute the test cases
$ ./bin/getit_tests
./bin/getit_tests
```

This will generate an application that will test GetIt when executed.
Expand Down
Loading