Skip to content

Commit

Permalink
Integrate query.rs library
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd committed Jun 25, 2024
1 parent e9ecfe4 commit 2917de2
Show file tree
Hide file tree
Showing 43 changed files with 44 additions and 5,379 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ docs/public
docs/static/advisory
manifest.json
extension/core
extension/lib
extension/manage/*.html
macro_railroad/pkg
macro_railroad/pkg
query.rs
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "docs/themes/juice"]
path = docs/themes/juice
url = https://github.com/huhu/juice
[submodule "query.rs"]
path = query.rs
url = https://github.com/huhu/query.rs
7 changes: 7 additions & 0 deletions build.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.PHONY: extension/lib

extension/lib: query.rs/web/lib
@rm -rf extension/lib
@cp -r $< $@


extension/script/macro-railroad-wasm.js: macro-railroad/pkg/macro-railroad.js
cp $< $@

Expand Down
6 changes: 3 additions & 3 deletions content-script-bundle.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// esbuild content-script-bundle.js --bundle --minify --global-name=rse --target=es2015 --outdir=extension
import storage from "./extension/core/storage.js";
import settings from "./extension/settings.js";
import IndexSetter from "./extension/index-setter.js";
import CrateDocManager from "./extension/crate-manager.js";
import settings from "./extension/lib/settings.js";
import IndexSetter from "./extension/lib/index-setter.js";
import CrateDocManager from "./extension/lib/crate-manager.js";

export {
storage,
Expand Down
27 changes: 0 additions & 27 deletions extension/command/help.js

This file was deleted.

38 changes: 0 additions & 38 deletions extension/command/label.js

This file was deleted.

44 changes: 0 additions & 44 deletions extension/command/rfc.js

This file was deleted.

28 changes: 0 additions & 28 deletions extension/command/rustc.js

This file was deleted.

15 changes: 0 additions & 15 deletions extension/command/stable.js

This file was deleted.

30 changes: 0 additions & 30 deletions extension/command/target.js

This file was deleted.

2 changes: 1 addition & 1 deletion extension/content-script-bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2917de2

Please sign in to comment.