Skip to content

Commit 94ee729

Browse files
authored
Merge pull request #59 from ashblue/feature/upgrade-oyster-to-v2
Feature/upgrade oyster to v2
2 parents b5d1682 + d6d6f12 commit 94ee729

File tree

271 files changed

+1141
-9015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+1141
-9015
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ trim_trailing_whitespace = true
1111
[*.md]
1212
max_line_length = off
1313
trim_trailing_whitespace = false
14+
15+
[manifest.json]
16+
indent_size = 2

.github/workflows/commitlint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Lint Commit Messages
2+
on: [pull_request]
3+
4+
jobs:
5+
commitlint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
with:
10+
fetch-depth: 0
11+
- uses: wagoid/commitlint-github-action@v3

.github/workflows/nightly-build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Nightly Build
2+
on:
3+
push:
4+
branches:
5+
- develop
6+
jobs:
7+
deployNightly:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: '14'
14+
- run: npm install
15+
- run: npm run build
16+
- name: Deploy nightly branch
17+
run: sh ./publish-nightly.sh
18+
env:
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/workflow.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
on: push
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-node@v2
9+
with:
10+
node-version: '14'
11+
- run: npm install
12+
- run: npm run build
13+
- name: Release
14+
env:
15+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
run: npm run semantic-release

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ sysinfo.txt
3434
*.apk
3535
*.unitypackage
3636
/Logs/Packages-Update.log
37+
Logs/
38+
CodeCoverage/
3739

3840
# Node.js
3941
node_modules

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.9.1
1+
14.16.0

.oyster.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"description": "A micro-framework for creating Behavior Trees based upon the builder pattern",
3+
"displayName": "Fluid Behavior Tree",
4+
"keywords": [
5+
"ai",
6+
"behavior tree",
7+
"builder pattern"
8+
],
9+
"oysterVersion": "2.1.0",
10+
"packageName": "com.fluid.behavior-tree",
11+
"packageScope": "com.fluid",
12+
"unityVersion": "2018.1",
13+
"author": {
14+
"name": "Ash Blue",
15+
"email": "[email protected]",
16+
"url": "https://twitter.com/ashbluewd"
17+
},
18+
"repo": {
19+
"gitUrl": "https://github.com/ashblue/fluid-behavior-tree",
20+
"gitUrlNoHttp": "github.com/ashblue/fluid-behavior-tree"
21+
}
22+
}

.releaserc

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,36 @@
33
"@semantic-release/commit-analyzer",
44
"@semantic-release/release-notes-generator",
55
"@semantic-release/changelog",
6+
[
7+
"@semantic-release/npm",
8+
{
9+
"npmPublish": false
10+
}
11+
],
612
[
713
"@semantic-release/exec",
814
{
9-
"verifyConditionsCmd": "npm run build",
10-
"prepareCmd": "npm run build"
15+
"publishCmd": "npm run build"
1116
}
1217
],
13-
"@semantic-release/git",
1418
[
1519
"@semantic-release/npm",
1620
{
17-
"pkgRoot": "dist"
21+
"pkgRoot": "Assets/com.fluid.behavior-tree"
1822
}
1923
],
2024
[
21-
"@semantic-release/github",
25+
"@semantic-release/git",
2226
{
2327
"assets": [
24-
{
25-
"path": "dist.zip",
26-
"label": "Package Build"
27-
}
28+
"CHANGELOG.md",
29+
"package.json",
30+
"package-lock.json",
31+
"npm-shrinkwrap.json",
32+
"Assets/**/*"
2833
]
2934
}
30-
]
35+
],
36+
"@semantic-release/github"
3137
]
3238
}

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)