-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
185 additions
and
1,199 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH | ||
|
||
if [[ "$CIRCLE_BRANCH" != greenkeeper/* ]]; then | ||
yarn | ||
yarn check | ||
exit 0 | ||
fi | ||
|
||
if [[ ! -z "$GIT_EMAIL" ]] & [[ ! -z "$GIT_USERNAME" ]]; then | ||
git config --global push.default simple | ||
git config --global user.email "$GIT_EMAIL" | ||
git config --global user.name "$GIT_USERNAME" | ||
fi | ||
|
||
if [[ ! -x "$(command -v greenkeeper-lockfile-update)" ]]; then | ||
yarn global add greenkeeper-lockfile@1 | ||
fi | ||
|
||
greenkeeper-lockfile-update | ||
yarn install | ||
greenkeeper-lockfile-upload |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
@anycli/version | ||
=============== | ||
@anycli/version-plugin | ||
====================== | ||
|
||
a anycli command that just shows the CLI version | ||
|
||
[![Version](https://img.shields.io/npm/v/@anycli/version.svg)](https://npmjs.org/package/@anycli/version) | ||
[![CircleCI](https://circleci.com/gh/anycli/version/tree/master.svg?style=svg)](https://circleci.com/gh/anycli/version/tree/master) | ||
[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/anycli/version?branch=master&svg=true)](https://ci.appveyor.com/project/heroku/version/branch/master) | ||
[![Codecov](https://codecov.io/gh/anycli/version/branch/master/graph/badge.svg)](https://codecov.io/gh/anycli/version) | ||
[![Greenkeeper](https://badges.greenkeeper.io/anycli/version.svg)](https://greenkeeper.io/) | ||
[![Known Vulnerabilities](https://snyk.io/test/npm/@anycli/version/badge.svg)](https://snyk.io/test/npm/@anycli/version) | ||
[![Downloads/week](https://img.shields.io/npm/dw/@anycli/version.svg)](https://npmjs.org/package/@anycli/version) | ||
[![License](https://img.shields.io/npm/l/@anycli/version.svg)](https://github.com/anycli/version/blob/master/package.json) | ||
[![Version](https://img.shields.io/npm/v/@anycli/version-plugin.svg)](https://npmjs.org/package/@anycli/version-plugin) | ||
[![CircleCI](https://circleci.com/gh/anycli/version-plugin/tree/master.svg?style=svg)](https://circleci.com/gh/anycli/version-plugin/tree/master) | ||
[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/anycli/version-plugin?branch=master&svg=true)](https://ci.appveyor.com/project/heroku/version-plugin/branch/master) | ||
[![Codecov](https://codecov.io/gh/anycli/version-plugin/branch/master/graph/badge.svg)](https://codecov.io/gh/anycli/version-plugin) | ||
[![Greenkeeper](https://badges.greenkeeper.io/anycli/version-plugin.svg)](https://greenkeeper.io/) | ||
[![Known Vulnerabilities](https://snyk.io/test/npm/@anycli/version-plugin/badge.svg)](https://snyk.io/test/npm/@anycli/version-plugin) | ||
[![Downloads/week](https://img.shields.io/npm/dw/@anycli/version-plugin.svg)](https://npmjs.org/package/@anycli/version-plugin) | ||
[![License](https://img.shields.io/npm/l/@anycli/version-plugin.svg)](https://github.com/anycli/version-plugin/blob/master/package.json) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,11 @@ cache: | |
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version x64 | ||
- git submodule sync | ||
- git submodule update --init --recursive | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "anycli" | ||
- yarn add -D nyc @anycli/nyc-config | ||
- yarn add -D nyc@11 @anycli/nyc-config@0 | ||
test_script: | ||
- yarn test | ||
- .\node_modules\.bin\nyc --nycrc-path node_modules/@anycli/nyc-config/.nycrc yarn test | ||
after_test: | ||
- .\node_modules\.bin\nyc --nycrc-path node_modules/@anycli/nyc-config/.nycrc report --reporter text-lcov > coverage.lcov | ||
- ps: | | ||
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH | ||
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.