Restructure repository file structure.
Adds an outer layer to hold docs, cairo contracts and other related files.
This commit is contained in:
1
.gitbook.yaml
Normal file
1
.gitbook.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
root: ./docs/
|
||||||
36
.github/workflows/test.yml
vendored
Normal file
36
.github/workflows/test.yml
vendored
Normal 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
4
.gitmodules
vendored
@@ -1,6 +1,6 @@
|
|||||||
[submodule "lib/forge-std"]
|
[submodule "lib/forge-std"]
|
||||||
path = lib/forge-std
|
path = evm/lib/forge-std
|
||||||
url = https://github.com/foundry-rs/forge-std
|
url = https://github.com/foundry-rs/forge-std
|
||||||
[submodule "lib/openzeppelin-contracts"]
|
[submodule "lib/openzeppelin-contracts"]
|
||||||
path = lib/openzeppelin-contracts
|
path = evm/lib/openzeppelin-contracts
|
||||||
url = https://github.com/OpenZeppelin/openzeppelin-contracts
|
url = https://github.com/OpenZeppelin/openzeppelin-contracts
|
||||||
|
|||||||
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal 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
0
cairo/.gitkeep
Normal file
0
docs/.gitkeep
Normal file
0
docs/.gitkeep
Normal file
0
.gitignore → evm/.gitignore
vendored
0
.gitignore → evm/.gitignore
vendored
0
substreams/.gitkeep
Normal file
0
substreams/.gitkeep
Normal file
Reference in New Issue
Block a user