Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewLM committed Jan 7, 2024
1 parent ebc0c7f commit d6be0c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions coinlib/bin/build_windows.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'util.dart';
/// Runnable in "Developer Command Prompt for VS 2022".
void main() async {

// Make temporary directory.
final workDir = Directory.current.path;
final tmpDir = createTmpDir();
Expand Down Expand Up @@ -42,10 +43,12 @@ void main() async {
"--build",
"build",
"--config",
"RelWithDebInfo"
"RelWithDebInfo",
]);

// Copy the DLL to build/windows/x64/secp256k1.dll.
Directory("$workDir/build").createSync();
File("$tmpDir/secp256k1/build/src/RelWithDebInfo/secp256k1.dll").copySync("$workDir/build/secp256k1.dll");
File("$tmpDir/secp256k1/build/src/RelWithDebInfo/secp256k1.dll")
.copySync("$workDir/build/secp256k1.dll");

}

0 comments on commit d6be0c1

Please sign in to comment.