mirror of
https://onedev.site.tesses.net/crosslang/crosslang-tutorials
synced 2026-02-08 17:15:46 +00:00
First commit
This commit is contained in:
13
6 CPKG/mylibrary/cross.json
Normal file
13
6 CPKG/mylibrary/cross.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://crosslang.tesseslanguage.com/schema/cross-json-schema.json",
|
||||
"info": {
|
||||
"type": "lib",
|
||||
"maintainer": "Mike Nolan",
|
||||
"description": "A library that does something",
|
||||
"license": "GPLv3",
|
||||
"repo": "https://onedev.site.tesses.net/crosslang/crosslang-tutorials",
|
||||
"homepage": "https://crosslang.tesseslanguage.com/"
|
||||
},
|
||||
"name": "mylibrary",
|
||||
"version": "1.0.0.0-prod"
|
||||
}
|
||||
5
6 CPKG/mylibrary/src/mylib.tcross
Normal file
5
6 CPKG/mylibrary/src/mylib.tcross
Normal file
@@ -0,0 +1,5 @@
|
||||
/^ Multiply two numbers ^/
|
||||
func MyLib.Times(a,b)
|
||||
{
|
||||
return a * b;
|
||||
}
|
||||
Reference in New Issue
Block a user