Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. #!/bin/sh
  2. # mogen.sh
  3. #
  4. # Created by Jean-Denis Muys on 24/02/11.
  5. # Modified by Ryan Rounkles on 15/5/11 to use correct model version and to account for spaces in file paths
  6. # Modified by Vyacheslav Artemev on 7/12/11 to use separate folders for machine and human
  7. # Modified by Evgeny Aleksandrov on 13/04/13 to use ARC
  8.  
  9. # baseClass = DOManagedObject
  10. # --base-class $baseClass
  11.  
  12. /usr/local/bin/mogenerator --model "${INPUT_FILE_PATH}" --machine-dir "${PROJECT_DIR}/Classes/CoreDataModels/Private/" --human-dir "${PROJECT_DIR}/Classes/CoreDataModels/" --template-var arc=true
  13.  
  14. ${DEVELOPER_BIN_DIR}/momc -XD_MOMC_TARGET_VERSION=10.6 "${INPUT_FILE_PATH}" "${TARGET_BUILD_DIR}/${EXECUTABLE_FOLDER_PATH}/${INPUT_FILE_BASE}.mom"
  15.  
  16. echo "Mogen.sh is done"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement