XTools V3

* Use command line interface instead of hard-coded paths
* Takes in both .gcap and parsed gcapy files
* Add pack config to allow system-wide installation
* Slightly change output format from [C|S] -> [C|s] to C [<<<|>>>] S
* Add some documentation to README
This commit is contained in:
Jakob Gillich 2020-06-10 00:32:02 +02:00
parent 170549982c
commit 116860b3be
No known key found for this signature in database
GPG key ID: FD8BF52DB8452C91
4 changed files with 264 additions and 173 deletions

View file

@ -103,13 +103,21 @@ lazy val common = (project in file("common")).
settings(pscryptoSettings: _*)
lazy val decodePackets = (project in file("tools/decode-packets")).
enablePlugins(PackPlugin).
settings(commonSettings: _*).
settings(decodePacketsPackSettings: _*).
settings(
libraryDependencies ++= Seq(
"org.scala-lang.modules" %% "scala-parallel-collections" % "0.2.0"
"org.scala-lang.modules" %% "scala-parallel-collections" % "0.2.0",
"com.github.scopt" %% "scopt" % "4.0.0-RC2",
"commons-io" % "commons-io" % "2.6"
)
).
dependsOn(common)
lazy val decodePacketsPackSettings = Seq(
packMain := Map("psf-decode-packets" -> "DecodePackets"),
)
// Special test configuration for really quiet tests (used in CI)
lazy val QuietTest = config("quiet") extend(Test)