/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
First need to install node / npm. Possibly through nvm?
| default_platform(:tvos) | |
| platform :tvos do | |
| desc "Push a new build to TestFlight" | |
| lane :beta do | |
| changelog = File.read("../Changelog-tvOS.txt") | |
| puts "Using changelog:" | |
| puts "\n\n" + changelog | |
| if prompt(text: "Is the changelog ok?", boolean: true) |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
First need to install node / npm. Possibly through nvm?
| param ( | |
| [string]$file = $(throw "-file is required."), | |
| [string]$path = $(throw "-path is required.") | |
| ) | |
| [System.IO.FileInfo]$fileInfo = $file | |
| [xml]$xml = Get-Content -Path $file | |
| foreach ($project in $xml.Report.Issues.Project) { | |
| $projectName = $project.Name |
| TAGS="TODO:|FIXME:" | |
| ERRORTAG="ERROR:" | |
| OUTPUT=$(find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --ignore-case --with-filename --line-number --only-matching "($TAGS).*\$|($ERRORTAG).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/i" | perl -p -e "s/($ERRORTAG)/ error: \$1/i") | |
| ECHO "$OUTPUT" | |
| if [[ $OUTPUT == *" error: "* ]] | |
| then | |
| exit 1 | |
| fi |
| # .gitignore file for Xcode / AppCode projects | |
| # based on https://github.com/github/gitignore/blob/master/Objective-C.gitignore | |
| # Xcode | |
| # | |
| build/ | |
| *.pbxuser | |
| !default.pbxuser | |
| *.mode1v3 | |
| !default.mode1v3 |
| -- Choose your OS X version | |
| --set osx to "OS X 10.5 and 10.6 (Leopards)" | |
| --set osx to "OS X 10.7 (Lion)" | |
| set osx to "OS X 10.8 (Mountain Lion)" | |
| set currentVersion to get version of application "SABnzbd" | |
| log "You are running: " & currentVersion | |
| set versionUrl to "http://sabnzbdplus.sourceforge.net/version/latest" | |
| set versionContent to do shell script "curl " & quoted form of versionUrl |