Skip to content

Commit df2fea9

Browse files
authored
Remove website code (#53)
1 parent 1b29610 commit df2fea9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2
-8887
lines changed

.github/workflows/ci.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ jobs:
221221
run: rustup target add i686-unknown-linux-gnu
222222
- name: "Run test on i686"
223223
run: cargo test --target i686-unknown-linux-gnu
224-
225224
WASM:
226225
name: WASM - stable toolchain
227226
runs-on: ubuntu-latest

.github/workflows/static.yaml

-48
This file was deleted.

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
11
**/target
2-
www/bip322*
3-
**/node_modules
4-
**/dist
5-
.vite

README.md

-18
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,6 @@ The goal is to provide a full signing and verifying library similar to
2424
- from [bip322-js](https://github.com/ACken2/bip322-js/blob/main/test/Verifier.test.ts)
2525
- from [BIP-322](https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki#test-vectors)
2626

27-
## Compile for WASM (on MacOs)
28-
29-
```
30-
brew install llvm
31-
cargo install wasm-pack
32-
rustup target add wasm32-unknown-unknown
33-
AR=/opt/homebrew/opt/llvm/bin/llvm-ar \
34-
CC=/opt/homebrew/opt/llvm/bin/clang \
35-
wasm-pack build \
36-
--target web \
37-
--out-name bip322 \
38-
www
39-
```
40-
41-
The WASM binary and Javascript glue code can then be found in `www/pkg`. The
42-
[bip322.rs](https://bip322.rs) site also runs a small WASM binary if you'd like
43-
to check it out.
44-
4527
## MSRV
4628

4729
At the moment the Minimum Supported Rust Version (MSRV) is 1.63. You can check

contrib/wasm.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ set -euox pipefail
1010
clang --version
1111
CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
1212
printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
13-
CC=clang wasm-pack build www/verify
13+
printf '\n[dependencies]\nwasm-bindgen = "0.2"\n' >> Cargo.toml
14+
CC=clang wasm-pack build .
1415
# CC=clang wasm-pack test --node

www/CNAME

-1
This file was deleted.

www/components.json

-21
This file was deleted.

www/eslint.config.js

-28
This file was deleted.

www/justfile

-23
This file was deleted.

0 commit comments

Comments
 (0)