Merge pull request 'main' (#1) from main into types
All checks were successful
/ test (push) Successful in 44s
All checks were successful
/ test (push) Successful in 44s
Reviewed-on: #1
This commit is contained in:
commit
3db4d4d777
7 changed files with 55 additions and 14 deletions
23
.forgejo/workflows/test.yaml
Normal file
23
.forgejo/workflows/test.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
on: [ push ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: node:lts
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: 1.23
|
||||||
|
- name: Build CLI
|
||||||
|
working-directory: ./cli
|
||||||
|
run: go build
|
||||||
|
- name: Build WASM
|
||||||
|
working-directory: ./wasm
|
||||||
|
run: GOOS=js GOARCH=wasm go build
|
||||||
|
- name: Test Core
|
||||||
|
working-directory: ./core
|
||||||
|
run: go test
|
||||||
21
LICENSE
Normal file
21
LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2025 Neemek
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
module neemek.com/angalis/cli
|
module neemek.com/anglais/cli
|
||||||
|
|
||||||
go 1.23.0
|
go 1.24.3
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/alecthomas/kong v1.5.1
|
github.com/alecthomas/kong v1.5.1
|
||||||
neemek.com/anglais/core v0.0.0-00010101000000-000000000000
|
|
||||||
)
|
)
|
||||||
|
|
||||||
replace neemek.com/anglais/core => ../core
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
module neemek.com/anglais/core
|
module neemek.com/anglais/core
|
||||||
|
|
||||||
go 1.23.0
|
go 1.24.3
|
||||||
|
|
|
||||||
3
go.mod
3
go.mod
|
|
@ -1,3 +0,0 @@
|
||||||
module neemek.com/anglais
|
|
||||||
|
|
||||||
go 1.23
|
|
||||||
7
go.work
Normal file
7
go.work
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
go 1.24.3
|
||||||
|
|
||||||
|
use (
|
||||||
|
./cli
|
||||||
|
./core
|
||||||
|
./wasm
|
||||||
|
)
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
module neemek.com/anglais/wasm
|
module neemek.com/anglais/wasm
|
||||||
|
|
||||||
go 1.23.0
|
go 1.24.3
|
||||||
|
|
||||||
replace neemek.com/anglais/core => ../core
|
|
||||||
|
|
||||||
require neemek.com/anglais/core v0.0.0-00010101000000-000000000000
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue