-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Insality/develop
Release v3
- Loading branch information
Showing
16 changed files
with
505 additions
and
26 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,26 @@ | ||
name: Run tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build_and_run: | ||
name: Build and run tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '17' | ||
|
||
- name: Build && Run | ||
run: | | ||
deployer_url="https://raw.githubusercontent.com/Insality/defold-deployer/4/deployer.sh" | ||
curl -s ${deployer_url} | bash -s lbd --headless --settings ./test/test.ini | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v4.0.1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: insality/defold-event |
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,11 @@ | ||
{ | ||
"Lua.diagnostics.globals": [ | ||
"lua_script_instance", | ||
"sys", | ||
"init", | ||
"describe", | ||
"before", | ||
"after", | ||
"it" | ||
] | ||
} |
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
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,24 @@ | ||
---@class event | ||
---@field create fun(callback: function|nil, callback_context: any|nil): event | ||
---@field subscribe fun(self: event, callback: function, callback_context: any|nil): boolean | ||
---@field unsubscribe fun(self: event, callback: function, callback_context: any|nil): boolean | ||
---@field is_subscribed fun(self: event, callback: function, callback_context: any|nil): boolean | ||
---@field trigger fun(self: event, a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any): nil | ||
---@field clear fun(self: event): nil | ||
---@field is_empty fun(self: event): boolean | ||
|
||
---@class events | ||
---@field subscribe fun(event_name: string, callback: function, callback_context: any|nil): boolean | ||
---@field unsubscribe fun(event_name: string, callback: function, callback_context: any|nil): boolean | ||
---@field is_subscribed fun(event_name: string, callback: function, callback_context: any|nil): boolean | ||
---@field trigger fun(event_name: string, ...: any): any @Result of the last callback | ||
---@field clear fun(name: string): nil | ||
---@field clear_all fun(): nil | ||
---@field is_empty fun(name: string): boolean | ||
|
||
---@class event.logger | ||
---@field trace fun(logger: event.logger, message: string, data: any|nil) | ||
---@field debug fun(logger: event.logger, message: string, data: any|nil) | ||
---@field info fun(logger: event.logger, message: string, data: any|nil) | ||
---@field warn fun(logger: event.logger, message: string, data: any|nil) | ||
---@field error fun(logger: event.logger, message: string, data: any|nil) |
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
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,14 @@ | ||
# Path to bob folder. It will find and save new bob.jar files inside | ||
bob_folder=./ | ||
|
||
# You can point bob version for project in format "filename:sha" | ||
bob_sha="181:fd1ad4c17bfdcd890ea7176f2672c35102384419" | ||
|
||
# Select Defold channel. Values: stable, beta, alpha | ||
bob_channel="stable" | ||
|
||
# If true, it will check and download latest bob version. It will ignore bob_sha param | ||
use_latest_bob=false | ||
|
||
# Select Defold build server | ||
build_server="https://build.defold.com" |
Oops, something went wrong.