Skip to content

Commit

Permalink
Refactor directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovenoboyo committed Dec 17, 2024
1 parent bc49f17 commit 265284b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "src-extensions-wasm"]
path = src-extensions-wasm
path = lib/extensions-wasm
url = https://github.com/Moosync/wasm-extension-runner
branch = main
2 changes: 1 addition & 1 deletion Trunk.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
target = "index.html"

[watch]
ignore = ["src-tauri", "target", "src-extensions"]
ignore = ["src-tauri", "target", "lib"]

[serve]
address = "127.0.0.1"
Expand Down
8 changes: 4 additions & 4 deletions buildext.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
cd src-extensions-wasm
rm -rf ../src-tauri/binaries/exthost-wasm-*
cd lib/extensions-wasm
rm -rf ../../src-tauri/binaries/exthost-wasm-*
cargo build --release
mkdir -p ../src-tauri/binaries
cp target/release/wasm-extension-runner ../src-tauri/binaries/exthost-wasm-$(rustc -Vv | grep host | cut -f2 -d' ')
mkdir -p ../../src-tauri/binaries
cp target/release/wasm-extension-runner ../../src-tauri/binaries/exthost-wasm-$(rustc -Vv | grep host | cut -f2 -d' ')
85 changes: 0 additions & 85 deletions src-tauri/tauri.conf.json

This file was deleted.

0 comments on commit 265284b

Please sign in to comment.