Архитектурный шаблон "Мрак в моделях" на нескольких языках и платформах
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
312B

  1. #!/bin/bash -e
  2. SCRIPT_DIR=$(cd "$(dirname "$0")" ; pwd -P)
  3. FILES=(
  4. memoryGap
  5. memoryItemPositions
  6. memorySide
  7. memorySpace
  8. )
  9. for file in ${FILES[*]}; do
  10. $SCRIPT_DIR/../toSwift $SCRIPT_DIR/$file.ts $SCRIPT_DIR/Swift/$file.swift
  11. tsc $SCRIPT_DIR/$file.ts --outfile $SCRIPT_DIR/JavaScript/$file.js
  12. done