mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user