This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import os, shutil | |
import subprocess | |
import os.path | |
from datetime import datetime | |
######################## Functions ######################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Copy this to your keybindings (Preferences > Key Bindings - User) | |
// Change the keybinding, color schemes, and themes to your preferences | |
{ | |
"keys": ["ctrl+shift+s"], "command": "toggle_color_scheme", | |
"args": { | |
"light_color_scheme": "Packages/Solarized Color Scheme/Solarized (light).sublime-color-scheme", | |
"dark_color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).sublime-color-scheme", | |
"light_theme": "Adaptive.sublime-theme", | |
"dark_theme": "Adaptive.sublime-theme" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Path to swiftlint | |
SWIFT_LINT=/usr/local/bin/swiftlint | |
#if $SWIFT_LINT >/dev/null 2>&1; then | |
if [[ -e "${SWIFT_LINT}" ]]; then | |
count=0 | |
for file_path in $(git ls-files -m --exclude-from=.gitignore | grep ".swift$"); do | |
export SCRIPT_INPUT_FILE_$count=$file_path |