Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jedures committed Nov 26, 2021
0 parents commit 67cfd7b
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
push:
paths:
- 'plugins/**'
- 'docs/**'
repository_dispatch:

jobs:
publish-release:
runs-on: ubuntu-latest
steps:
- uses: solar2d/directory-plugin-action@main
with:
pat: ${{ secrets.ISSUE_PAT }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plugins/*.tgz
7 changes: 7 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright (c) 2020

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. This notice may not be removed or altered from any source distribution.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Plugin template

To make it work for Solar2D plugins directory add your plugin content into the plugins directory. Then in revision, which is minimum requirement to run the plugin. Repository name must me `com.publisher.name-plugin.name` as it would be in build settings `["plugin.name"] = { publisherId = "com.publisher.name"}`.

For example, `mkdir -p plugins/2020.2600/<platform>a`.


Example platforms are:
* `android-kindle` will use `android` if not found
* `android` any android platform
* `macos` only desktop build
* `mac-sim` desktop build or simulator
* `win32` only desktop build
* `win32-sim` desktop build or simulator
* `web` for html5 builds
* `html5` same as `web`
* `iphone` iOS device
* `iphone-sim` iOS simulator
* `tvos` AppleTV device
* `tvos-sim` Apple TV simulator
* `lua` used if no other applicable platform found

0 comments on commit 67cfd7b

Please sign in to comment.