Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwhite committed Jun 11, 2017
0 parents commit 8116f5d
Show file tree
Hide file tree
Showing 15 changed files with 1,460 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target/
**/*.rs.bk
.*.swp
69 changes: 69 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Based on the "trust" template v0.1.1
# https://github.com/japaric/trust/tree/v0.1.1

dist: trusty
language: rust
services: docker
sudo: required

env:
global:
- CRATE_NAME=git-subset

matrix:
include:
# Linux
- env: TARGET=i686-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-musl

# OSX
- env: TARGET=x86_64-apple-darwin
os: osx

# Testing other channels
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
- env: TARGET=x86_64-apple-darwin
os: osx
rust: nightly

before_install: set -e

install:
- sh ci/install.sh
- source ~/.cargo/env || true

script:
- bash ci/script.sh

after_script: set +e

before_deploy:
- sh ci/before_deploy.sh

deploy:
api_key:
secure: P7AhbGCIto2TIV6nFJn55KoxVEXC0zrGv7gr2CIu4jK4JKoURzTmmlDrgM5ic//YA2adiynU88kZyQrrbIQoUd9WR1tqQQbIbRJVUmZHAyHjeHp2jVJK5E/lmKzNW9AgJvS4HlU7ds2WfM4oXiY2AddeY8aahzMPbF3gSSjrildXJ8Us9cOhc2fI68NmmLiB/P1oCJxXYbCc9RIG3lp/ziil3/rS5GKTc1kf7PZ5QT+VQ6kaGSwEWPDyea+u6+y5vQul5x70Bi0xWA0XVaNdKst16XOq/3qwuea8AU/+WBSs9yo2Wi7XrIPyVy5KZaVkPbb1KyDJ/WkWuLEo8Tuu8oHaLLTNWB6RCbWD72tfeprttZUGSueLqiQcrUNcnzOXIN5yPi29qnEmEVrEYJhHRbpKP8cEfsGOH3JX6hf5c9xdNMd6CCNfnoqEocnvws/4idgXdrhoEAqkSijzkvyZ/8w+8VWqMYmUXBItr2TUM+4KeThCn2u5Usdq6zhJqKnvwrfKpISBxjgYzkp0DoLdQbJgDw4pWOpkID9dUe/N2pxa8V4peKlHzg5TvwlSRYy3KkunfTfbq+wDB8DGkercOf+gjGWIafJ9OZLE800g5p/C7KyWKW2KfVAi1CIwDjNZt1uV4Vc9oedbRzb/m+BA3smMsaiNA8OTQrygvBGqyD0=
file_glob: true
file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
on:
condition: $TRAVIS_RUST_VERSION = stable
tags: true
provider: releases
skip_cleanup: true

cache: cargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo

branches:
only:
# release tags
- /^v\d+\.\d+\.\d+.*$/
- master

notifications:
email:
on_success: never
287 changes: 287 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "git-subset"
version = "0.1.0"
authors = ["Jason White"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/jasonwhite/git-subset"
documentation = "https://github.com/jasonwhite/git-subset"
homepage = "https://github.com/jasonwhite/git-subset"
description = """
Super fast Git tree filtering.
"""
keywords = ["git", "filter-branch", "tree"]
categories = ["command-line-utilities"]

[dependencies]
git2 = "0.6"
clap = "2.0"
Loading

0 comments on commit 8116f5d

Please sign in to comment.