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

Re-organize and update #128

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions .cargo/config

This file was deleted.

82 changes: 0 additions & 82 deletions .github/scripts/readme.sh

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/readme.yml

This file was deleted.

30 changes: 6 additions & 24 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,13 @@
name: Tests
on:
repository_dispatch:
types: [tests-report]
push:
pull_request_target:
types: [opened, edited]
on: push
jobs:
tests:
strategy:
matrix:
platform: [ubuntu-latest] # mac-os in development
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable-2020-10-08
target: wasm32-unknown-unknown
- name: Run unit tests
run: cd ft && cargo test -- --nocapture --color=always
- name: Run Rust integration tests
run: cd integration-tests/rs && cargo run --example integration-tests
- name: Run TS integration tests
run: cd integration-tests/ts && yarn && yarn test
- uses: actions/checkout@v4
- name: Install and test modules
run: |
cargo test
8 changes: 0 additions & 8 deletions .gitpod.Dockerfile

This file was deleted.

7 changes: 0 additions & 7 deletions .gitpod.yml

This file was deleted.

18 changes: 18 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "fungible-token"
version = "1.0.0"
authors = ["Near Inc <[email protected]>"]
edition = "2018"

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
near-sdk = "5.5.0"
near-contract-standards = "5.5.0"

[dev-dependencies]
near-sdk = { version = "5.5.0", features = ["unit-testing"] }
near-workspaces = { version = "0.14.1", features = ["unstable"] }
anyhow = "1.0"
tokio = { version = "1.41.0", features = ["full"] }
112 changes: 0 additions & 112 deletions README-Windows.md

This file was deleted.

Loading