Added compact syntax for package dependencies:

"depends on: package version"

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@777 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-12-21 18:14:51 +00:00
parent 1ee9eeb578
commit 1cb5700a00
3 changed files with 30 additions and 4 deletions
+5 -1
View File
@@ -5,13 +5,17 @@ Data type: dependency
[[type:Package]]s can depend on other packages.
For example a [[type:stylesheet]] needs a particular version of the corresponding [[type:game]] package, and maybe some additional [[type:include]]s.
--Proeprties--
--Properties--
! Property Type Description
| @package@ [[type:string]] Filename of the package this package depends on.
| @version@ [[type:version]] Minimal version of that package that is required.
The two properties can also be written on a single line, separated by a space (see the examples).
--Example--
The magic-new stylesheet depends on a particular version of the game file:
>depends on:
> package: magic.mse-game
> version: 2007-06-06
This can be written more compactly as
>depends on: magic.mse-game 2007-06-06