Skip to content

Commit

Permalink
Add windows scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tundranerd committed Nov 12, 2023
1 parent 43acaba commit 2d1c139
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions ci/Windows/create-sdk.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#! /bin/bash
TARGET_DIR="${TARGET_DIR:-febio4-sdk}"
mkdir -p ${TARGET_DIR}/{include,lib,bin}
# Gotta use rsync macos cp doesn't support --parent
find . -name "*.h*" -type f -not -path "./infrastructure/*" -not -path "./${TARGET_DIR}/*" -exec rsync -R -dir {} "./${TARGET_DIR}/include/" \;
find . -name "*.h*" -type f -not -path "./infrastructure/*" -not -path "./${TARGET_DIR}/*" -exec cp --parents -a {} "./${TARGET_DIR}/include/" \;
find cmbuild/lib -name "*" -type f -exec cp -a {} "./${TARGET_DIR}/lib/" \;
find cmbuild/bin -name "*" -type f -exec cp -a {} "./${TARGET_DIR}/bin/" \;
5 changes: 5 additions & 0 deletions ci/Windows/publish-to-s3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /bin/bash

chmod +x artifacts/febio/bin/febio4
ci/common/linux/publish-to-s3.sh artifacts/febio4
ci/common/linux/publish-to-s3.sh artifacts/febio4-sdk
2 changes: 2 additions & 0 deletions ci/Windows/scp-to-repo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#! /bin/bash
scp cmbuild/bin/Release/* repo:~/update2/FEBioStudio2Dev/Windows/stage/bin

0 comments on commit 2d1c139

Please sign in to comment.