File tree 3 files changed +10
-0
lines changed
3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 27
27
test :
28
28
cargo test
29
29
30
+ test-update :
31
+ if ! cargo test ; then \
32
+ cd packages/qwik/src/optimizer/core/src/snapshots/ && for i in * .new; do f=$$ (basename $$ i .new); mv $$ i $$ f; done ; \
33
+ cargo test ; \
34
+ fi
35
+
30
36
publish-core :
31
37
cd src/optimizer/core && cargo publish --all-features
32
38
Original file line number Diff line number Diff line change 28
28
# Provides rustc and cargo
29
29
( ( rust-bin . fromRustupToolchainFile
30
30
./rust-toolchain ) . override {
31
+ # For rust-analyzer
32
+ extensions = [ "rust-src" ] ;
33
+ # For building wasm
31
34
targets = [ "wasm32-unknown-unknown" ] ;
32
35
} )
33
36
] ;
Original file line number Diff line number Diff line change 194
194
"test.e2e.firefox" : " playwright test starters --browser=firefox --config starters/playwright.config.ts" ,
195
195
"test.e2e.webkit" : " playwright test starters --browser=webkit --config starters/playwright.config.ts" ,
196
196
"test.rust" : " make test" ,
197
+ "test.rust.update" : " make test-update" ,
197
198
"test.unit" : " vitest packages" ,
198
199
"test.unit.debug" : " vitest --inspect-brk packages" ,
199
200
"test.vite" : " playwright test starters/e2e/qwikcity --browser=chromium --config starters/playwright.config.ts" ,
You can’t perform that action at this time.
0 commit comments