Restructure repository file structure.

Adds an outer layer to hold docs, cairo contracts
and other related files.
This commit is contained in:
kayibal
2023-11-01 00:47:15 +00:00
parent cbf380eaf8
commit 82c815fdf2
16 changed files with 45 additions and 2 deletions

1
.gitbook.yaml Normal file
View File

@@ -0,0 +1 @@
root: ./docs/

36
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: test
on: workflow_dispatch
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
cd evm
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
cd evm
forge test -vvv
id: test

4
.gitmodules vendored
View File

@@ -1,6 +1,6 @@
[submodule "lib/forge-std"]
path = lib/forge-std
path = evm/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
path = evm/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts

6
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"solidity.formatter": "forge",
"solidity.compileUsingRemoteVersion": "v0.8.19",
"solidity.packageDefaultDependenciesContractsDirectory": "evm/src",
"solidity.packageDefaultDependenciesDirectory": "evm/lib",
}

0
cairo/.gitkeep Normal file
View File

0
docs/.gitkeep Normal file
View File

View File

0
substreams/.gitkeep Normal file
View File