name: mypackage
meta {
author: example
version: 1.0.0
license: MIT
needed {
myapi
}
special {
}
}
content {
1 {
type: local
name: file1
{
print("Hello World")
}
}
2 {
type: http
name: file2
{ example.com }
}
}
The first is the name of the package.
The meta section contains information about the package. needed contains, which package will be needed. They will be automatically installed with the package. The special section is for os maker and contains information, who the normal package manager not needed but there are useful for programmer. For example: If you have app permissions in your OS, this section can contain, what is needed.
The content section contains the programm code. It cann contain more than one file. The name of the file is in the name tag. The type tag says, where the code is. local means, the code is in the package. https means, the code is in the Internet.