-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
431 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,43 @@ | ||
# Contributing to Scalus | ||
|
||
## Env setup | ||
## Pre-requisites | ||
|
||
- Java 11+, sbt 1.x | ||
- Cardano `uplc` CLI tool | ||
|
||
## Env setup with Nix | ||
|
||
```bash | ||
nix develop | ||
``` | ||
|
||
## Build | ||
|
||
```bash | ||
sbt precommit | ||
``` | ||
|
||
## Docusaurus | ||
|
||
Run locally | ||
|
||
```bash | ||
cd website | ||
yarn install | ||
yarn run serve | ||
``` | ||
|
||
## Deploy to GitHub Pages | ||
|
||
```bash | ||
cd website | ||
USE_SSH=true yarn deploy | ||
USE_SSH=true yarn deploy | ||
``` | ||
|
||
## Run benchmarks | ||
|
||
In sbt shell | ||
|
||
```bash | ||
jmh:run -i 1 -wi 1 -f 1 -t 1 | ||
jmh:run -i 1 -wi 1 -f 1 -t 1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.