Skip to content

Commit

Permalink
add dartchess as optional repo
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Oct 27, 2023
1 parent 32ac5c1 commit f8b1d70
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,22 @@ docker run --rm -v $(pwd)/repos/scalachess:/mnt \
bash -c "cd /mnt && sbt package"
```

## Dartchess:

```bash
## run formatter
docker run --rm -v $(pwd)/repos/dartchess:/mnt --workdir /mnt dart:3.1.5-sdk \
dart format .
## analyze
docker run --rm -v $(pwd)/repos/dartchess:/mnt --workdir /mnt dart:3.1.5-sdk \
bash -c "dart pub get && dart analyze"
## run tests
docker run --rm -v $(pwd)/repos/dartchess:/mnt --workdir /mnt dart:3.1.5-sdk \
bash -c "dart pub get && dart test -x full_perft"
```

### bbpPairings:

```bash
Expand Down
9 changes: 9 additions & 0 deletions command/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ enum Repository {
Chessground,
PgnViewer,
Scalachess,
Dartchess,
Berserk,
}

Expand Down Expand Up @@ -218,6 +219,14 @@ fn prompt_for_optional_services() -> Result<Vec<OptionalService>, Error> {
"Scalachess",
"standalone chess logic library",
)
.item(
OptionalService {
compose_profile: None,
repositories: vec![Repository::Dartchess].into(),
},
"Dartchess",
"standalone chess library for mobile platforms",
)
.item(
OptionalService {
compose_profile: None,
Expand Down

0 comments on commit f8b1d70

Please sign in to comment.