Skip to content

Commit

Permalink
Windows: Copy windows lib to npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
radex committed Aug 25, 2023
1 parent 1fd5d7e commit 949c4a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/make.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ const copyNonJavaScriptFiles = (buildPath) => {
'native/ios',
'native/android',
'native/android-jsi',
'native/windows',
])
cleanFolder(`${buildPath}/native/ios/WatermelonDB.xcodeproj/xcuserdata`)
cleanFolder(`${buildPath}/native/android/build`)
Expand All @@ -134,6 +135,11 @@ const copyNonJavaScriptFiles = (buildPath) => {
cleanFolder(`${buildPath}/native/android-jsi/.externalNativeBuild`)
cleanFolder(`${buildPath}/native/android-jsi/build`)
cleanFolder(`${buildPath}/native/android-jsi/bin/build`)
cleanFolder(`${buildPath}/native/windows/.vs`)
cleanFolder(`${buildPath}/native/windows/x64`)
cleanFolder(`${buildPath}/native/windows/WatermelonDB/Generated Files`)
cleanFolder(`${buildPath}/native/windows/WatermelonDB/obj`)
cleanFolder(`${buildPath}/native/windows/WatermelonDB/x64`)
}

if (isDevelopment) {
Expand Down

0 comments on commit 949c4a8

Please sign in to comment.