Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 94e569470b |
3 changed files with 3 additions and 1 deletions
|
|
@ -29,6 +29,8 @@ jobs:
|
||||||
cargo machete
|
cargo machete
|
||||||
|
|
||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
|
pnpm add --save-dev --save-exact --workspace-root jscpd-linux-x64-gnu@5.0.14
|
||||||
|
pnpm run dup
|
||||||
|
|
||||||
RUSTFLAGS="--cfg web_sys_unstable_apis" wasm-pack test --node wasm
|
RUSTFLAGS="--cfg web_sys_unstable_apis" wasm-pack test --node wasm
|
||||||
RUSTFLAGS="--cfg web_sys_unstable_apis" wasm-pack build wasm --target web
|
RUSTFLAGS="--cfg web_sys_unstable_apis" wasm-pack build wasm --target web
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ async fn handle_pipe_loopback(
|
||||||
conn: &mtp::webserver::WebMTPConnection,
|
conn: &mtp::webserver::WebMTPConnection,
|
||||||
request: mtp::host::PipeRequest<
|
request: mtp::host::PipeRequest<
|
||||||
mtp::webserver::WebMtpSender,
|
mtp::webserver::WebMtpSender,
|
||||||
mtp::webserver::WebMtpReceiver,
|
|
||||||
mtp::webserver::H3TransportReceiver,
|
mtp::webserver::H3TransportReceiver,
|
||||||
>,
|
>,
|
||||||
) -> Result<u64, Box<dyn std::error::Error>> {
|
) -> Result<u64, Box<dyn std::error::Error>> {
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@
|
||||||
"pack": "pnpm run release:web",
|
"pack": "pnpm run release:web",
|
||||||
"release:web": "node create-web-release.mjs",
|
"release:web": "node create-web-release.mjs",
|
||||||
"build:all": "nix run .#build-all",
|
"build:all": "nix run .#build-all",
|
||||||
|
"dup": "jscpd --pattern '**/*.{rs,ts}' --ignore 'target/**' --ignore 'wasm/pkg/**' --min-lines 8 --min-tokens 80 --threshold 4 --reporters console --no-tips .",
|
||||||
"test:e2e": "tsc && node test/e2ee.mjs",
|
"test:e2e": "tsc && node test/e2ee.mjs",
|
||||||
"test:secrets": "tsc && node --test --test-isolation=none test/encrypted-secret.mjs",
|
"test:secrets": "tsc && node --test --test-isolation=none test/encrypted-secret.mjs",
|
||||||
"test:wasm-init": "tsc && node --test test/wasm-init.mjs",
|
"test:wasm-init": "tsc && node --test test/wasm-init.mjs",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue