Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #9 from umm/support_upm
Browse files Browse the repository at this point in the history
Support UPM
  • Loading branch information
milkcocoa authored Jun 9, 2020
2 parents 7360c05 + d06675c commit df01d4f
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 27 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/publish-upm-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Publish UPM Package

on:
release:
types: [published]

jobs:
publish:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: monry/actions-upm-publish@v1
with:
npm_auth_token: ${{ secrets.NPM_AUTH_TOKEN }}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://upm-packages.dev
1 change: 1 addition & 0 deletions Assets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Changelog
56 changes: 56 additions & 0 deletions Assets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# ExtraLINQ

*
* Forked from [mariusschulz/ExtraLINQ](https://github.com/mariusschulz/ExtraLINQ)
* Customized for Unity 2017

## Requirement

* Unity 2017

## Install

### With Unity Package Manager

```bash
upm add package dev.upm-packages.extra-zenject
```

Note: `upm` command is provided by [this repository](https://github.com/upm-packages/upm-cli).

You can also edit `Packages/manifest.json` directly.

```jsonc
{
"dependencies": {
// (snip)
"dev.upm-packages.extra-zenject": "[latest version]",
// (snip)
},
"scopedRegistries": [
{
"name": "Unofficial Unity Package Manager Registry",
"url": "https://upm-packages.dev",
"scopes": [
"dev.upm-packages"
]
}
]
}
```

### Any other else (classical umm style)

```shell
yarn add "umm/extra_linq#^1.0.0"
```

# Usage

* See [README.md](https://github.com/mariusschulz/ExtraLINQ/blob/master/README.md) in original repository.

# License

Copyright (c) 2016 Marius Schulz

Released under the MIT license, see [LICENSE.txt](LICENSE.txt)
21 changes: 21 additions & 0 deletions Assets/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "dev.upm-packages.extra-linq",
"displayName": "Extra LINQ",
"version": "1.3.0",
"unity": "2019.3",
"description": "",
"homepage": "https://github.com/umm/extra_linq",
"bugs": {
"url": "https://github.com/umm/extra_linq/issues"
},
"author": "Tetsuya Mori",
"license": "MIT",
"keywords": [],
"category": "",
"dependencies": {
},
"repository": {
"type": "git",
"url": "https://github.com/umm/extra_linq"
}
}
1 change: 1 addition & 0 deletions CHANGELOG.md
26 changes: 0 additions & 26 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions README.md
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umm/extra_linq",
"version": "1.2.2",
"version": "1.3.0",
"description": "ExtraLINQ provides a set of extension methods for various .NET sequence types.",
"homepage": "https://github.com/umm/extra_linq",
"bugs": {
Expand Down

0 comments on commit df01d4f

Please sign in to comment.