Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdowling committed Dec 10, 2024
1 parent e1321ee commit 2434fa8
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
include:
- os: "macos-latest"
lua-version: "5.4"
- os: "windows-latest"
lua-version: "luajit"
# - os: "windows-latest"
# lua-version: "luajit"
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -27,4 +27,5 @@ jobs:
- uses: hishamhm/gh-actions-luarocks@master
- name: Test
run: |
make dev
make
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
.PHONY: build gen check test
.PHONY: dev build gen check test

build: compile check test build

dev:
luarocks install cyan

compile:
cyan build
luarocks build

check: compile
tl check -q spec/integ.tl
luacheck emitter.lua
luacheck src/emitter.lua

test: compile
luarocks test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ emitter:reset()

## Installation

You can copy and past Emitter.tl or Emitter.lua into your project.
You can copy and paste `src/emitter.tl` or `src/emitter.lua` into your project.

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions emitter.tl-dev-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ test = {
build = {
type = "builtin",
modules = {
emitter = "emitter.lua",
emitter = "src/emitter.lua",
},
install = {
lua = {
emitter = "emitter.tl",
emitter = "src/emitter.tl",
},
},
}
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions tlconfig.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
return {
build_dir = ".",
source_dir = ".",
build_dir = "src",
source_dir = "src",
gen_target = "5.1",
gen_compat = "off",
include = { "emitter.tl" },
include = { "src/emitter.tl" },
}

0 comments on commit 2434fa8

Please sign in to comment.