diff --git a/src/_premake_init.lua b/src/_premake_init.lua index dd13bd24f..fd0380228 100644 --- a/src/_premake_init.lua +++ b/src/_premake_init.lua @@ -94,13 +94,6 @@ pathVars = false, } - api.register { - name = "buildrule", -- DEPRECATED - scope = "config", - kind = "table", - tokens = true, - } - api.register { name = "characterset", scope = "config", @@ -1202,24 +1195,6 @@ api.alias("propertydefinition", "propertyDefinition") api.alias("removefiles", "excludes") - ------------------------------------------------------------------------------ --- --- Handlers for deprecated fields and values. --- ------------------------------------------------------------------------------ - - -- 13 Apr 2017 - - api.deprecateField("buildrule", 'Use `buildcommands`, `buildoutputs`, and `buildmessage` instead.', - function(value) - if value.description then - buildmessage(value.description) - end - buildcommands(value.commands) - buildoutputs(value.outputs) - end) - ----------------------------------------------------------------------------- -- -- Install Premake's default set of command line arguments. diff --git a/website/docs/Project-API.md b/website/docs/Project-API.md index 426833257..6039ff5cb 100644 --- a/website/docs/Project-API.md +++ b/website/docs/Project-API.md @@ -25,7 +25,6 @@ | [buildmessage](buildmessage.md) | | | [buildoptions](buildoptions.md) | Additional build options (passed directly to compiler) | | [buildoutputs](buildoutputs.md) | | -| [buildrule](buildrule.md) | | | [callingconvention](callingconvention.md) | Sets the function calling convention | | [cdialect](cdialect.md) | | | [characterset](characterset.md) | Set the character encoding | diff --git a/website/docs/Whats-New-in-5.0.md b/website/docs/Whats-New-in-5.0.md index af671af8e..7d8572005 100644 --- a/website/docs/Whats-New-in-5.0.md +++ b/website/docs/Whats-New-in-5.0.md @@ -146,7 +146,6 @@ title: What's New in 5.0 ## Deprecated Values and Functions ## -* [buildrule](buildrule.md) * [flags](flags.md): * Component * EnableSSE, EnableSSE2: use [vectorextensions](vectorextensions.md) instead diff --git a/website/docs/buildrule.md b/website/docs/buildrule.md deleted file mode 100644 index 58180d150..000000000 --- a/website/docs/buildrule.md +++ /dev/null @@ -1,23 +0,0 @@ -buildrule - -```lua -buildrule { "value" } -``` - -### Parameters ### - -`value` - needs documentation. - -### Applies To ### - -The `config` scope. - -### Availability ### - -Premake 5.0.0 alpha 12 or later. - -### Examples ### - -```lua -buildrule { "value" } -``` diff --git a/website/sidebars.js b/website/sidebars.js index 37633bddd..daf4de204 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -78,7 +78,6 @@ module.exports = { 'buildmessage', 'buildoptions', 'buildoutputs', - 'buildrule', 'buildstlmodules', 'callingconvention', 'cdialect',