build 638 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. distdir="/var/tmp/dist/[% project %]"
  4. [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
  5. mkdir -p /var/tmp/build
  6. tar -C /var/tmp/build -xf [% project %]-[% c("version") %].tar.gz
  7. cd /var/tmp/build/[% project %]-[% c("version") %]
  8. make x64
  9. mkdir -p $distdir/bin/
  10. cp fxc2.exe $distdir/bin/
  11. cp dll/d3dcompiler_47_32.dll $distdir/bin/d3dcompiler_47_32.dll
  12. cp dll/d3dcompiler_47.dll $distdir/bin/
  13. cd /var/tmp/dist
  14. [% c('tar', {
  15. tar_src => [ project ],
  16. tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
  17. }) %]