Skip to content

Commit

Permalink
Move BonDriver files (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki0824 authored Sep 17, 2023
1 parent 0e82a04 commit 5c66e0e
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libpcsclite-dev \
pkg-config && \
rm -rf /var/lib/apt/lists/*
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain beta -y && \
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y && \
/root/.cargo/bin/cargo install cargo-deb
COPY . /src/
WORKDIR /src/
7 changes: 5 additions & 2 deletions recisdb-rs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() {
let bg = bindgen::builder()
.allowlist_type("IBonDriver[1-9]?")
.allowlist_function("CreateBonDriver")
.header("src/IBonDriver.hpp")
.header("src/tuner/windows/IBonDriver.hpp")
.dynamic_library_name("BonDriver")
.dynamic_link_require_all(true)
.parse_callbacks(Box::new(bindgen::CargoCallbacks));
Expand All @@ -38,7 +38,10 @@ fn main() {

let mut compiler = cc::Build::new();

let globs = &["src/IBonDriver.cpp", "src/vtable_resolver/*.cpp"];
let globs = &[
"src/tuner/windows/IBonDriver.cpp",
"src/tuner/windows/vtable_resolver/*.cpp",
];
for pattern in globs {
for path in glob::glob(pattern).unwrap() {
let path = path.unwrap();
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 5c66e0e

Please sign in to comment.