Skip to content

Commit

Permalink
linux build script added
Browse files Browse the repository at this point in the history
  • Loading branch information
Aki Vänttinen committed Jun 24, 2019
1 parent 96287ee commit 8764e0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
sc2pathlib.pyd
sc2pathlib.so
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cargo build --release
if not exist "sc2pathlib" mkdir sc2pathlib
REM if not exist "sc2pathlib" mkdir sc2pathlib
copy "target\release\sc2pathlib.dll" "sc2pathlib.pyd"
2 changes: 2 additions & 0 deletions linux_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cargo build --release
cp "target/release/libsc2pathlib.so" "sc2pathlib.so"

0 comments on commit 8764e0d

Please sign in to comment.