anchor.diff:                cp -av * $out
                 cd $out
               
  -              titanium build --config-file $TMPDIR/config.json --force --platform ios --target simulator --build-only --device-family universal --output-dir $out
  +              titanium build --config-file $TMPDIR/config.json --force --no-colors --platform ios --target simulator --build-only --device-family universal --output-dir $out
             ''}
           ''
   
  
positive.code:     EOF
      
      echo "{}" > $TMPDIR/config.json
      titanium --config-file $TMPDIR/config.json config sdk.defaultInstallLocation ${titaniumsdk}
  
      mkdir -p $out
      
      ${if target == "android" then
          ''
            titanium config --config-file $TMPDIR/config.json android.sdkPath ${androidsdkComposition}/libexec/android-sdk-*
            
            ${if release then
              ''titanium build --config-file $TMPDIR/config.json --force --platform android --target dist-playstore --keystore ${androidKeyStore} --alias ${androidKeyAlias} --password ${androidKeyStorePassword} --output-dir $out''
            else
              ''titanium build --config-file $TMPDIR/config.json --force --platform android --target emulator --build-only --output $out''}
          ''
        else if target == "iphone" then
          ''
  
negative.code:               EOF
              
                # Set the SDK to our copy
                titanium --config-file $TMPDIR/config.json --no-colors config sdk.defaultInstallLocation $TMPDIR/titaniumsdk
              
                # Do the actual build
                titanium build --config-file $TMPDIR/config.json --force --no-colors --platform ios --target dist-adhoc --pp-uuid $provisioningId --distribution-name "${iosCertificateName}" --keychain $HOME/Library/Keychains/$keychainName --device-family universal --output-dir $out
              
                # Remove our generated keychain
              
  