Skip to content

Commit

Permalink
update copy script
Browse files Browse the repository at this point in the history
  • Loading branch information
masterrob94 committed Feb 27, 2024
1 parent 9bc2b5c commit 5be8bb9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
6 changes: 2 additions & 4 deletions scripts/copy_a318hs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ set -ex
#remove directory if it exist
rm -rvf ./fbw-common

# copy from FBW COMMON source and HDW COMMON into one src
# copy from FBW COMMON source and HS COMMON into one src
cp -ra ./flybywire/fbw-common/. ./fbw-common
cp -ra ./hsim-a318-common/. ./fbw-common
cp -ra ./hsim-common/. ./fbw-common

#remove directory if it exist
rm -rvf ./build-a318ceo
Expand All @@ -32,9 +33,6 @@ cp -ra ./hsim-a318ceo/src/model/. ./build-a318ceo/src/model
cp -ra ./hsim-a318ceo/src/systems/. ./build-a318ceo/src/systems
cp -ra ./hsim-a318ceo/src/wasm/. ./build-a318ceo/src/wasm

# copy common modules into A318HS build
cp -ra ./hsim-common/src/systems/. ./build-a318ceo/src/systems

mkdir -p ./build-a318ceo/out/lvfr-horizonsim-airbus-a318-ceo
mkdir -p ./build-a318ceo/out/lvfr-horizonsim-airbus-a318-ceo-lock-highlight

Expand Down
4 changes: 1 addition & 3 deletions scripts/copy_a319hs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rm -rf ./fbw-common
# copy from FBW COMMON source and HDW COMMON into one src
cp -ra ./flybywire/fbw-common/. ./fbw-common
cp -ra ./hsim-a319-common/. ./fbw-common
cp -ra ./hsim-common/. ./fbw-common

#remove directory if it exist
rm -rf ./build-a319ceo
Expand Down Expand Up @@ -40,9 +41,6 @@ cp -ra ./hsim-a319ceo/src/model/. ./build-a319ceo/src/model
cp -ra ./hsim-a319ceo/src/systems/. ./build-a319ceo/src/systems
cp -ra ./hsim-a319ceo/src/wasm/. ./build-a319ceo/src/wasm

# copy common modules into A319HS build
cp -ra ./hsim-common/src/systems/. ./build-a319ceo/src/systems

mkdir -p ./build-a319ceo/out/lvfr-horizonsim-airbus-a319-ceo
mkdir -p ./build-a319ceo/out/lvfr-horizonsim-airbus-a319-ceo-lock-highlight

Expand Down
4 changes: 1 addition & 3 deletions scripts/copy_a320hs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rm -rf ./fbw-common
# copy from FBW COMMON source and HDW COMMON into one src
cp -ra ./flybywire/fbw-common/. ./fbw-common
cp -ra ./hsim-a320-common/. ./fbw-common
cp -ra ./hsim-common/. ./fbw-common

#remove directory if it exist
rm -rf ./build-a320ceo
Expand Down Expand Up @@ -41,9 +42,6 @@ cp -ra ./hsim-a320ceo/src/model/. ./build-a320ceo/src/model
cp -ra ./hsim-a320ceo/src/systems/. ./build-a320ceo/src/systems
cp -ra ./hsim-a320ceo/src/wasm/. ./build-a320ceo/src/wasm

# copy common modules into A320HS build
cp -ra ./hsim-common/src/systems/. ./build-a320ceo/src/systems

mkdir -p ./build-a320ceo/out/lvfr-horizonsim-airbus-a320-ceo
mkdir -p ./build-a320ceo/out/lvfr-horizonsim-airbus-a320-ceo-lock-highlight

Expand Down
4 changes: 1 addition & 3 deletions scripts/copy_a321hs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rm -rf ./fbw-common
# copy from FBW COMMON source and HDW COMMON into one src
cp -ra ./flybywire/fbw-common/. ./fbw-common
cp -ra ./hsim-a21n-common/. ./fbw-common
cp -ra ./hsim-common/. ./fbw-common

#remove directory if it exist
rm -rf ./build-a321neo
Expand Down Expand Up @@ -35,9 +36,6 @@ cp -ra ./hsim-a321neo/src/model/. ./build-a321neo/src/model
cp -ra ./hsim-a321neo/src/systems/. ./build-a321neo/src/systems
cp -ra ./hsim-a321neo/src/wasm/. ./build-a321neo/src/wasm

# copy common modules into A21NHS build
cp -ra ./hsim-common/src/systems/. ./build-a321neo/src/systems

mkdir -p ./build-a321neo/out/lvfr-horizonsim-airbus-a321-neo
mkdir -p ./build-a321neo/out/lvfr-horizonsim-airbus-a321-neo-lock-highlight

Expand Down

0 comments on commit 5be8bb9

Please sign in to comment.