Skip to content

Commit

Permalink
support another prefix file :|
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed May 8, 2023
1 parent 54eb33d commit c567057
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 55 deletions.
100 changes: 50 additions & 50 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ toml = "0.7.3"
tracing = { version = "0.1.37", features = ["attributes"] }
vfs = "0.9.0"
walkdir = "2.3.3"
zip = "0.6.4"
zip = "0.6.5"
4 changes: 2 additions & 2 deletions bin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "hemtt"
description = "HEMTT - Arma 3 Build Tool"
version = "1.3.2"
version = "1.3.3"
edition = "2021"
license = "GPL-2.0"
authors = ["Brett Mayson <[email protected]>"]
Expand All @@ -10,7 +10,7 @@ authors = ["Brett Mayson <[email protected]>"]
hemtt-error = { path = "../libs/error", version = "1.0.0" }

hemtt-config = { path = "../libs/config", version = "1.0.0" }
hemtt-pbo = { path = "../libs/pbo", version = "1.0.0" }
hemtt-pbo = { path = "../libs/pbo", version = "1.0.1" }
hemtt-preprocessor = { path = "../libs/preprocessor", version = "1.0.0" }
hemtt-tokens = { path = "../libs/tokens", version = "1.0.0" }
hemtt-signing = { path = "../libs/signing", version = "1.0.0" }
Expand Down
2 changes: 1 addition & 1 deletion libs/pbo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hemtt-pbo"
version = "1.0.0"
version = "1.0.1"
edition = "2021"
description = "An PBO library for hemtt"
license = "GPL-2.0"
Expand Down
7 changes: 6 additions & 1 deletion libs/pbo/src/prefix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
use crate::Error;

/// Files that may be used to contain the prefix, case insensitive, convert to lowercase
pub const FILES: [&str; 3] = ["$pboprefix$", "pboprefix.txt", "$prefix$"];
pub const FILES: [&str; 4] = [
"$pboprefix$",
"$pboprefix$.txt",
"pboprefix.txt",
"$prefix$",
];

#[derive(Debug, Clone, PartialEq, Eq)]
/// A prefix for a PBO
Expand Down

0 comments on commit c567057

Please sign in to comment.