separated make stuff
This commit is contained in:
parent
2cb60340d0
commit
7c467443ba
4
templates/lv2-make/tibia-index.js
Normal file
4
templates/lv2-make/tibia-index.js
Normal file
@ -0,0 +1,4 @@
|
||||
module.exports = function (data, api) {
|
||||
api.copyFile(`Makefile`, `Makefile`);
|
||||
api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data);
|
||||
};
|
@ -68,6 +68,4 @@ module.exports = function (data, api) {
|
||||
api.copyFile(`src${sep}lv2.c`, `src${sep}lv2.c`);
|
||||
api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data);
|
||||
api.copyFileIfNotExists(`src${sep}plugin.h`, `src${sep}plugin.h`);
|
||||
api.copyFile(`make${sep}Makefile`, `Makefile`);
|
||||
api.generateFileFromTemplateFile(`make${sep}vars.mk`, `vars.mk`, data);
|
||||
};
|
||||
|
4
templates/vst3-make/tibia-index.js
Normal file
4
templates/vst3-make/tibia-index.js
Normal file
@ -0,0 +1,4 @@
|
||||
module.exports = function (data, api) {
|
||||
api.copyFile(`Makefile`, `Makefile`);
|
||||
api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data);
|
||||
};
|
@ -1,2 +1,2 @@
|
||||
BUNDLE_NAME := {{=it.product.bundleName}}
|
||||
VST3_C_API_DIR := ../../vst3_c_api
|
||||
VST3_C_API_DIR := ../../../vst3_c_api
|
@ -6,6 +6,4 @@ module.exports = function (data, api) {
|
||||
api.copyFile(`src${sep}vst3.c`, `src${sep}vst3.c`);
|
||||
api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data);
|
||||
api.copyFileIfNotExists(`src${sep}plugin.h`, `src${sep}plugin.h`);
|
||||
api.copyFile(`make${sep}Makefile`, `Makefile`);
|
||||
api.generateFileFromTemplateFile(`make${sep}vars.mk`, `vars.mk`, data);
|
||||
};
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
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/../templates/vst3-make $dir/../out/vst3
|
||||
cp $dir/plugin.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/../templates/lv2-make $dir/../out/lv2
|
||||
cp $dir/plugin.h $dir/../out/lv2/src
|
||||
|
Loading…
Reference in New Issue
Block a user