Compare commits
22 Commits
72a843919b
...
latest
Author | SHA1 | Date | |
---|---|---|---|
5605760629
|
|||
44fc8e1fcf
|
|||
4f6f24952c
|
|||
52cb4e23bc
|
|||
bcbf1c79c1
|
|||
4d7e9553ea
|
|||
b2db3e7f12
|
|||
354e4e0907
|
|||
610e6f6356
|
|||
d25a7a6821
|
|||
|
47bc988b39 | ||
|
85e00ea775 | ||
|
1dcf4f0de9 | ||
|
e779f9940a | ||
|
8ee32a20b3 | ||
|
0d1e5f7695 | ||
|
56aa040c9b | ||
|
2f540f9127 | ||
|
2a53d2fbe1 | ||
|
e092dbf204 | ||
|
5847f557ad | ||
|
2b3850ef98 |
44
.woodpecker.yaml
Normal file
44
.woodpecker.yaml
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
steps:
|
||||||
|
- name: build-release
|
||||||
|
image: alpine
|
||||||
|
secrets: [GITEA_TOKEN]
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
- branch: main
|
||||||
|
commands:
|
||||||
|
- apk add openjdk21
|
||||||
|
- apk add wget
|
||||||
|
- apk add tar
|
||||||
|
- wget https://github.com/demonnic/muddler/releases/download/0.13/muddle-shadow-0.13.tar
|
||||||
|
- tar -xvf muddle-shadow-0.13.tar
|
||||||
|
- mv muddle-shadow-0.13/lib/muddle-0.13-all.jar muddle.jar
|
||||||
|
- java -jar muddle.jar
|
||||||
|
|
||||||
|
- name: deploy-build
|
||||||
|
image: alpine
|
||||||
|
when:
|
||||||
|
- event: [push, tag]
|
||||||
|
environment:
|
||||||
|
GITEATKN:
|
||||||
|
from_secret: GITEA_TOKEN
|
||||||
|
GOTOKEN:
|
||||||
|
from_secret: GOTIFY_TOKEN
|
||||||
|
depends_on: build-release
|
||||||
|
commands:
|
||||||
|
- apk add tea
|
||||||
|
- apk add wget
|
||||||
|
- tea login add --name=temp --url=https://git.vertinext.com/ --token=$GITEATKN
|
||||||
|
- tea releases create --asset "build/lotj-ui.mpackage" --asset "build/lotj-ui.xml" --tag latest --title "Latest Compiled Release"
|
||||||
|
- wget "https://gotify.vertinext.com/message?token=$GOTOKEN" --post-data "title=${CI} - ${CI_REPO_NAME}&message=New release ${CI_COMMIT_TAG} built and deployed.&priority=0" -O /dev/null
|
||||||
|
|
||||||
|
- name: notify-on-branch-push
|
||||||
|
image: alpine
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
- status: [success, failure]
|
||||||
|
environment:
|
||||||
|
GOTOKEN:
|
||||||
|
from_secret: GOTIFY_TOKEN
|
||||||
|
commands:
|
||||||
|
- apk add wget
|
||||||
|
- wget "https://gotify.vertinext.com/message?token=$GOTOKEN" --post-data "title=${CI} - ${CI_REPO_NAME}&message=New pipeline running.&priority=0" -O /dev/null
|
@@ -55,7 +55,7 @@ After creating a Mudlet profile to connect to LOTJ, do the following to add the
|
|||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
The source for this package is structured to use [muddler](https://github.com/demonnic/muddler) to package it into a Mudlet package.
|
The source for this package is structured to use [muddler](https://github.com/demonnic/muddler) to package it into a Mudlet package. Using version 0.1 is necessary at this time due to some errant behavior by later Muddler versions.
|
||||||
|
|
||||||
You can, of course, just modify the triggers/aliases/scripts directly within Mudlet if you want to test local changes, but they'll be overwritten if you want to update to future versions of this package.
|
You can, of course, just modify the triggers/aliases/scripts directly within Mudlet if you want to test local changes, but they'll be overwritten if you want to update to future versions of this package.
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ To change the source for this package, modify the JSON files and associated Lua
|
|||||||
If you have Docker set up, it can be easiest to run a command like this to regenerate the package, from the root of the repository:
|
If you have Docker set up, it can be easiest to run a command like this to regenerate the package, from the root of the repository:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --rm -it -u $(id -u):$(id -g) -v $PWD:/$PWD -w /$PWD demonnic/muddler
|
docker run --rm -it -u $(id -u):$(id -g) -v $PWD:/$PWD -w /$PWD demonnic/muddler:0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
If that's a pain, just make a pull request and someone else can generate the package with your changes to make sure they work.
|
If that's a pain, just make a pull request and someone else can generate the package with your changes to make sure they work.
|
||||||
|
2
mfile
2
mfile
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"package": "lotj-ui",
|
"package": "lotj-ui",
|
||||||
"version": "v2.3.1"
|
"version": "v2.3.3"
|
||||||
}
|
}
|
@@ -1,5 +1,5 @@
|
|||||||
lotj.galaxyMap.resetData()
|
lotj.galaxyMap.resetData()
|
||||||
|
|
||||||
enableTrigger("galaxy-map-refresh")
|
enableTrigger("galaxy-map-refresh")
|
||||||
send("starsystems", false)
|
send("starsystems map", false)
|
||||||
send("planets", false)
|
send("planets", false)
|
||||||
|
@@ -19,11 +19,11 @@
|
|||||||
"type": "regex"
|
"type": "regex"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pattern": "^\\(OOC\\) You say '.*'$",
|
"pattern": "^\\(OSAY\\) You say '.*'$",
|
||||||
"type": "regex"
|
"type": "regex"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pattern": "^\\(OOC\\) .* says '.*'$",
|
"pattern": "^\\(OSAY\\) .* says '.*'$",
|
||||||
"type": "regex"
|
"type": "regex"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -172,7 +172,7 @@
|
|||||||
"fireLength": 1,
|
"fireLength": 1,
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
"pattern": "Listing publicly known starsystems:",
|
"pattern": "Listing known starsystems:",
|
||||||
"type": "substring"
|
"type": "substring"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
"name": "system-line",
|
"name": "system-line",
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
"pattern": "^(.*) \\( ([0-9-]+), ([0-9-]+) \\)$",
|
"pattern": "^(.*)\\s+\\(\\s*([0-9-]+), ([0-9-]+)\\s*\\)$",
|
||||||
"type": "regex"
|
"type": "regex"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user