Skip to content

Commit

Permalink
[Build] copy all release artifacts now that upstream cargo bug is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
steveatinfincia committed Jan 12, 2017
1 parent 0b93a62 commit 4d9c48c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ popd

cp -a dep/$TARGET/* dist-$TARGET/

cp -a target/debug/deps/libsafedrive*.a dist-$TARGET/lib/libsafedrive.a
cp -a target/debug/deps/libsafedrive*.dylib dist-$TARGET/lib/libsafedrive.dylib || true
cp -a target/debug/deps/libsafedrive*.so dist-$TARGET/lib/libsafedrive.so || true
cp -a target/debug/libsafedrive.a dist-$TARGET/lib/libsafedrive.a
cp -a target/debug/libsafedrive.dylib dist-$TARGET/lib/libsafedrive.dylib || true
cp -a target/debug/libsafedrive.so dist-$TARGET/lib/libsafedrive.so || true
cp -a target/debug/safedrive dist-$TARGET/bin/
9 changes: 5 additions & 4 deletions release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ popd

robocopy %CD%\dep\%TARGET%\%TOOLSET%\%LINKTYPE%\ %CD%\dist-%TARGET%-%TOOLSET%-%LINKTYPE%\ /COPYALL /E

copy /y target\release\deps\safedrive*.dll.lib dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.dll.lib
copy /y target\release\deps\safedrive*.dll.exp dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.dll.exp
copy /y target\release\deps\safedrive*.dll dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.dll
copy /y target\release\deps\safedrive*.pdb dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.pdb
copy /y target\release\safedrive.lib dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.lib
copy /y target\release\safedrive.dll.lib dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.dll.lib
copy /y target\release\safedrive.dll.exp dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.dll.exp
copy /y target\release\safedrive.dll dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.dll
copy /y target\release\safedrive.pdb dist-%TARGET%-%TOOLSET%-%LINKTYPE%\lib\safedrive.pdb

copy /y target\release\safedrive.exe dist-%TARGET%-%TOOLSET%-%LINKTYPE%\bin\

6 changes: 3 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ popd

cp -a dep/$TARGET/* dist-$TARGET/

cp -a target/release/deps/libsafedrive*.a dist-$TARGET/lib/libsafedrive.a
cp -a target/release/deps/libsafedrive*.dylib dist-$TARGET/lib/libsafedrive.dylib || true
cp -a target/release/deps/libsafedrive*.so dist-$TARGET/lib/libsafedrive.so || true
cp -a target/release/libsafedrive.a dist-$TARGET/lib/libsafedrive.a
cp -a target/release/libsafedrive.dylib dist-$TARGET/lib/libsafedrive.dylib || true
cp -a target/release/libsafedrive.so dist-$TARGET/lib/libsafedrive.so || true
cp -a target/release/safedrive dist-$TARGET/bin/

0 comments on commit 4d9c48c

Please sign in to comment.