Changeset 9282


Ignore:
Timestamp:
Apr 25, 2008, 9:43:09 PM (11 years ago)
Author:
mikel
Message:

added ability to suppress resource copy from IDE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/build-application.lisp

    r7804 r9282  
    2828;;; dev-environment nibfiles.
    2929
    30 #|
    31 temporarily removed for debugging
    32 (save-application image-path
    33                       :application-class application-class
    34                       :toplevel-function toplevel-function
    35                       :prepend-kernel t)
    36 |#
    37 
    3830(defun build-application (&key
    3931                          (name "MyApplication")
     
    4133                          (creator-string "OMCL")
    4234                          (directory (current-directory))
     35                          (copy-ide-resources t) ; whether to copy the IDE's resources
    4336                          (nibfiles nil) ; a list of user-specified nibfiles
    4437                                        ; to be copied into the app bundle
     
    5952         (image-path (namestring (path app-bundle "Contents" "MacOS" name))))
    6053    ;; copy IDE resources to the bundle
    61     (recursive-copy-directory (path ide-bundle-path "Contents" "Resources/")
    62                               (path app-bundle  "Contents" "Resources/")
    63                               :if-exists :overwrite)
     54    (when copy-ide-resources
     55      (recursive-copy-directory (path ide-bundle-path "Contents" "Resources/")
     56                                (path app-bundle  "Contents" "Resources/")
     57                                :if-exists :overwrite))
    6458    ;; copy user nibfiles into the bundle
    6559    (when nibfiles
Note: See TracChangeset for help on using the changeset viewer.