Skip to content

Commit

Permalink
Merge pull request #29 from rfuzzo/petgraph
Browse files Browse the repository at this point in the history
Petgraph
  • Loading branch information
rfuzzo committed Jun 2, 2024
2 parents 006d37c + a07dde0 commit 7a9c147
Show file tree
Hide file tree
Showing 30 changed files with 7,064 additions and 54,423 deletions.
846 changes: 527 additions & 319 deletions Cargo.lock

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resolver = "2"

[workspace.package]
name = "plox"
version = "0.3.1"
version = "0.4.0"
authors = ["Moritz Baron"]
description = "PLOX - Plugin Load Order eXpert. PLOX is a tool for analyzing and sorting your plugin load order. Supports Morrowind, OpenMW and Cyberpunk"
documentation = ""
Expand All @@ -26,10 +26,10 @@ documentation.workspace = true
[dependencies]
openmw-cfg = "0.5" # move to feature flag
clap = { version = "4.1", features = ["derive"] }
toposort-scc = "0.5"
petgraph = "0.6"
rust-ini = "0.21"
regex = "1.10"
reqwest = { version = "0.11", features = ["blocking", "json"] }
reqwest = { version = "0.12", features = ["blocking", "json"] }
serde_json = "1.0"
seahash = "4.1"
filetime = "0.2"
Expand All @@ -45,6 +45,7 @@ serde = { workspace = true }
pretty_assertions = "1.3"
rand = "0.8"


[profile.release]
opt-level = 2 # fast and small wasm

Expand Down
8 changes: 8 additions & 0 deletions _clean.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off

cd ./tmp

:: delete all *.dot files in ./tmp
del /F /Q *.dot
:: delete all *.png files in ./tmp
del /F /Q *.png
23 changes: 23 additions & 0 deletions _graph.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@echo off

:: run clean
call _clean.bat

cd ./tmp

sccmap ./scc_base/graphviz.dot -o ./scc_base.dot
dot -Tpng ./scc_base.dot -O

echo "Graphs generated for base"

sccmap ./scc_user/graphviz.dot -o ./scc_user.dot
dot -Tpng ./scc_user.dot -O

echo "Graphs generated for user"

sccmap ./scc_full/graphviz.dot -o ./scc_full.dot
dot -Tpng ./scc_full.dot -O

echo "Graphs generated for full"

pause
Loading

0 comments on commit 7a9c147

Please sign in to comment.