Skip to content

Commit

Permalink
Move formulat to tap repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Jan 17, 2020
1 parent 3c95bda commit 53ab46a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 30 deletions.
27 changes: 20 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
os: linux
language: rust
rust: stable
cache: cargo
env:
global:
- NAME=enquirer
- PKG_CONFIG_ALLOW_CROSS=1
- SHARD=test
- [email protected]
jobs:
allow_failures:
- env:
Expand All @@ -15,12 +14,15 @@ jobs:
include:
- os: osx
env:
- SHARD=test
- TARGET=x86_64-apple-darwin
- os: linux
env:
- SHARD=test
- TARGET=x86_64-unknown-linux-gnu
- os: linux
env:
- SHARD=test
- TARGET=i686-unknown-linux-gnu
addons:
apt:
Expand All @@ -30,15 +32,26 @@ jobs:
update: true
after_deploy: skip
- os: linux
env:
- SHARD=lint
if: tag IS blank
before_script:
- rustup component add clippy
- rustup component add rustfmt
script:
- echo "Checking codebase with Clippy release `cargo clippy --version`."
- cargo clippy --all --profile test
- cargo fmt -- --check
- stage: homebrew
os: linux
language: shell
if: tag IS present
env:
- [email protected]
before_script: skip
script:
- cd ..
- git clone --depth 1 https://pksunkara:[email protected]/termapps/homebrew-tap
- cd homebrew-tap
- bash update.sh
before_script:
- rustup target add $TARGET
script:
Expand All @@ -48,9 +61,9 @@ before_deploy:
# TODO: Generate man page from clap
- cargo build --target $TARGET --release
- export BUILD_NAME=$NAME-$TRAVIS_TAG-$TARGET
- mkdir target/$BUILD_NAME
- cp target/$TARGET/release/$NAME LICENSE *.md $NAME.1 target/$BUILD_NAME
- zip $BUILD_NAME.zip -r target/$BUILD_NAME
- mkdir $BUILD_NAME
- cp target/$TARGET/release/$NAME LICENSE *.md $NAME.1 $BUILD_NAME
- zip $BUILD_NAME.zip -r $BUILD_NAME
deploy:
edge: true
provider: releases
Expand Down
22 changes: 0 additions & 22 deletions Formula/enquirer.rb

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Get started with Enquirer, the most powerful command line utility for creating i
### With [Homebrew](https://brew.sh/)

```
$ brew tap termapps/enquirer https://github.com/termapps/enquirer
$ brew tap termapps/tap
$ brew install enquirer
```

Expand Down

0 comments on commit 53ab46a

Please sign in to comment.