diff --git a/templates/android/tibia-index.js b/templates/android/tibia-index.js index e227774..fedbe9e 100644 --- a/templates/android/tibia-index.js +++ b/templates/android/tibia-index.js @@ -27,4 +27,5 @@ module.exports = function (data, api) { api.copyFile(`src${sep}jni.cpp`, `src${sep}jni.cpp`); api.generateFileFromTemplateFile(`src${sep}MainActivity.java`, `src${sep}MainActivity.java`, data); api.generateFileFromTemplateFile(`src${sep}index.html`, `src${sep}index.html`, data); + api.copyFile(`..${sep}common${sep}fatica.h`, `src${sep}fatica.h`); }; diff --git a/templates/ios/tibia-index.js b/templates/ios/tibia-index.js index f7f4c64..093fb72 100644 --- a/templates/ios/tibia-index.js +++ b/templates/ios/tibia-index.js @@ -27,4 +27,5 @@ module.exports = function (data, api) { api.copyFile(`src${sep}native.mm`, `src${sep}native.mm`); api.copyFile(`src${sep}app-Bridging-Header.h`, `src${sep}app-Bridging-Header.h`); api.copyFile(`src${sep}app.swift`, `src${sep}app.swift`, data); + api.copyFile(`..${sep}common${sep}fatica.h`, `src${sep}fatica.h`); }; diff --git a/templates/lv2/tibia-index.js b/templates/lv2/tibia-index.js index 5608d5d..c92b721 100644 --- a/templates/lv2/tibia-index.js +++ b/templates/lv2/tibia-index.js @@ -121,5 +121,6 @@ module.exports = function (data, api, outputCommon, outputData) { api.generateFileFromTemplateFile(`data${sep}manifest.ttl.in`, `data${sep}manifest.ttl.in`, data); api.copyFile(`src${sep}lv2.c`, `src${sep}lv2.c`); + api.copyFile(`..${sep}common${sep}fatica.h`, `src${sep}fatica.h`); api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data); }; diff --git a/templates/vst3/tibia-index.js b/templates/vst3/tibia-index.js index c2e3213..c767603 100644 --- a/templates/vst3/tibia-index.js +++ b/templates/vst3/tibia-index.js @@ -66,5 +66,6 @@ module.exports = function (data, api, outputCommon, outputData) { api.copyFile(`data${sep}PkgInfo`, `data${sep}PkgInfo`); api.generateFileFromTemplateFile(`data${sep}Info.plist`, `data${sep}Info.plist`, data); api.copyFile(`src${sep}vst3.c`, `src${sep}vst3.c`); + api.copyFile(`..${sep}common${sep}fatica.h`, `src${sep}fatica.h`); api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data); }; diff --git a/test/run.sh b/test/run.sh index 94bda7e..50f3173 100755 --- a/test/run.sh +++ b/test/run.sh @@ -3,12 +3,10 @@ dir=`dirname $0` $dir/../tibia $dir/product.json,$dir/company.json,$dir/vst3.json $dir/../templates/vst3 $dir/../out/vst3 $dir/../tibia $dir/product.json,$dir/company.json,$dir/vst3.json,$dir/vst3-make.json $dir/../templates/vst3-make $dir/../out/vst3 -cp $dir/../templates/common/* $dir/../out/vst3/src/ cp $dir/plugin.h $dir/plugin_ui.h $dir/../out/vst3/src $dir/../tibia $dir/product.json,$dir/company.json,$dir/lv2.json $dir/../templates/lv2 $dir/../out/lv2 $dir/../tibia $dir/product.json,$dir/company.json,$dir/lv2.json,$dir/lv2-make.json $dir/../templates/lv2-make $dir/../out/lv2 -cp $dir/../templates/common/* $dir/../out/lv2/src/ cp $dir/plugin.h $dir/plugin_ui.h $dir/../out/lv2/src $dir/../tibia $dir/product.json,$dir/company.json $dir/../templates/web $dir/../out/web @@ -18,13 +16,11 @@ cp $dir/plugin.h $dir/../out/web/src $dir/../tibia $dir/product.json,$dir/company.json,$dir/android.json $dir/../templates/android $dir/../out/android $dir/../tibia $dir/product.json,$dir/company.json,$dir/android.json,$dir/android-make.json $dir/../templates/android-make $dir/../out/android -cp $dir/../templates/common/* $dir/../out/android/src/ cp $dir/keystore.jks $dir/../out/android cp $dir/plugin.h $dir/../out/android/src $dir/../tibia $dir/product.json,$dir/company.json,$dir/ios.json $dir/../templates/ios $dir/../out/ios $dir/../tibia $dir/product.json,$dir/company.json,$dir/ios.json,$dir/ios-make.json $dir/../templates/ios-make $dir/../out/ios -cp $dir/../templates/common/* $dir/../out/ios/src/ cp $dir/plugin.h $dir/../out/ios/src $dir/../tibia $dir/product.json,$dir/company.json $dir/../templates/cmd $dir/../out/cmd