This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ian Walter
committed
Oct 29, 2019
1 parent
10e21c4
commit 89a99ac
Showing
5 changed files
with
47 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: ianwalter |
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 |
---|---|---|
@@ -1,35 +1,28 @@ | ||
Copyright (c) Ian Walter <public@iankwalter.com> (https://iankwalter.com) | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License") modified with | ||
Commons Clause Restriction; you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software distributed | ||
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations under the License. | ||
|
||
"Commons Clause" License Condition v1.0 | ||
|
||
The Software is provided to you by the Licensor under the License, as defined | ||
below, subject to the following condition. | ||
|
||
Without limiting other conditions in the License, the grant of rights under the | ||
License will not include, and the License does not grant to you, the right to | ||
Sell the Software. | ||
|
||
For purposes of the foregoing, "Sell" means practicing any or all of the rights | ||
granted to you under the License to provide to third parties, for a fee or other | ||
consideration (including without limitation fees for hosting or | ||
consulting/support services related to the Software), a product or service whose | ||
value derives, entirely or substantially, from the functionality of the | ||
Software. Any license notice or attribution required by the License must also | ||
include this Commons Clause License Condition notice. | ||
|
||
Software: @ianwalter/faygit | ||
|
||
License: Apache 2.0 | ||
|
||
Licensor: Ian Walter | ||
Copyright 2019 Ian Walter | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
* The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
* The software may not be used by individuals, corporations, governments, or | ||
other groups for systems or activities that actively and knowingly endanger, | ||
harm, or otherwise threaten the physical, mental, economic, or general | ||
well-being of individuals or groups in violation of the United Nations | ||
Universal Declaration of Human Rights | ||
(https://www.un.org/en/universal-declaration-human-rights/). | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
This license is derived from the MIT License, as amended to limit the impact of | ||
the unethical use of open source software. |
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
const { test } = require('@ianwalter/bff') | ||
const execa = require('execa') | ||
|
||
test.skip('TODO') | ||
test('cli', async ({ expect }) => { | ||
const { stdout } = await execa('yarn', ['faygit', 'tmp']) | ||
expect(stdout).toMatch(/Added [0-9]+ commits!/) | ||
await execa('git', ['rev-list', '--all', '--count']) | ||
}) |