Merge pull request #19 from oligot/ise_wizard_sh

ise_wizard Unix shell scripts
This commit is contained in:
Jocelyn Fiat
2012-12-04 06:06:27 -08:00
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
mkdir tmp
ecb -config ewf_ise_wizard-safe.ecf -target wizard -finalize -c_compile -project_path tmp
mkdir -p spec/$ISE_PLATFORM
mv tmp/EIFGENs/wizard/F_code/wizard spec/$ISE_PLATFORM/wizard
rm -rf tmp
WIZ_TARGET=$ISE_EIFFEL/studio/wizards/new_projects/ewf
rm -rf $WIZ_TARGET
mkdir $WIZ_TARGET
cp -r resources $WIZ_TARGET/resources
cp -r spec $WIZ_TARGET/spec
cp ewf.dsc $WIZ_TARGET/../ewf.dsc
rm -rf spec

View File

@@ -0,0 +1,16 @@
#!/bin/sh
mkdir tmp
ecb -config ewf_ise_wizard-safe.ecf -target custom_wizard -finalize -c_compile -project_path tmp
mkdir -p custom/spec/$ISE_PLATFORM
mv tmp/EIFGENs/custom_wizard/F_code/wizard custom/spec/$ISE_PLATFORM/wizard
rm -rf tmp
WIZ_TARGET=$ISE_EIFFEL/studio/wizards/new_projects/ewf_custom
rm -rf $WIZ_TARGET
mkdir $WIZ_TARGET
cp -r resources $WIZ_TARGET/resources
cp -f custom/resources/* $WIZ_TARGET/resources
cp -r custom/spec $WIZ_TARGET/spec
cp custom/ewf.dsc $WIZ_TARGET/../ewf_custom.dsc
rm -rf custom/spec