天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。
- gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
# recordVideoをバックグラウンドで実行 | |
xcrun simctl io booted recordVideo screenshots/test.mov & | |
# プロセスIDを保存 | |
PID=`echo $!` | |
# テスト実行 | |
bundle exec rspec spec/scenario_test.rb | |
# バックグラウンドのrecordVideoにSIGINTシグナルを送信 |
#!/bin/bash | |
# run_ios_sim builds and runs an iOS app on the simulator | |
# | |
# It is designed to replicate the behavior of "Run" in Xcode and assumes basic | |
# xcodebuild usage. | |
# | |
# USAGE: | |
# export IOS_SIM_UDID=342F9A20-DF48-41A9-BE60-C6B35F47E97F; \ | |
# export BUNDLE_IDENTIFIER=a.Some; \ | |
# export APP_PATH=$PWD/Build/Debug-iphonesimulator/$APP_NAME.app \ |
#!/usr/bin/env python | |
import lldb | |
def slack(debugger, command, result, internal_dict): | |
frame = lldb.debugger.GetSelectedTarget().GetProcess().GetSelectedThread().GetSelectedFrame() | |
path = command | |
lldb.debugger.HandleCommand(""" | |
expr -l swift -- |
#!/bin/sh | |
# settings ========== | |
# src file name | |
fileNamePrefix="ScreenShotFileNameFor5.5inch" | |
offsetFor3_5=20 | |
# dest directory name |