feat: add lua universe package and stylua command to fmt check

Signed-off-by: teddylear <teddylear@protonmail.com>
This commit is contained in:
teddylear
2022-04-11 20:22:23 -04:00
committed by teddylear
parent 9a832b7119
commit 78ca8d66c4
4 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package lua
import (
"dagger.io/dagger"
"universe.dagger.io/x/teddylear@protonmail.com/lua"
)
dagger.#Plan & {
client: filesystem: "./data/hello": read: contents: dagger.#FS
actions: test: {
simple: {
fmtCheck: lua.#StyluaCheck & {
source: client.filesystem."./data/hello".read.contents
}
}
}
}