Skip to content

Commit 380b917

Browse files
committed
Remove deprecated buildrule
1 parent baa0e37 commit 380b917

File tree

5 files changed

+0
-51
lines changed

5 files changed

+0
-51
lines changed

src/_premake_init.lua

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,6 @@
9494
pathVars = false,
9595
}
9696

97-
api.register {
98-
name = "buildrule", -- DEPRECATED
99-
scope = "config",
100-
kind = "table",
101-
tokens = true,
102-
}
103-
10497
api.register {
10598
name = "characterset",
10699
scope = "config",
@@ -1202,24 +1195,6 @@
12021195
api.alias("propertydefinition", "propertyDefinition")
12031196
api.alias("removefiles", "excludes")
12041197

1205-
1206-
-----------------------------------------------------------------------------
1207-
--
1208-
-- Handlers for deprecated fields and values.
1209-
--
1210-
-----------------------------------------------------------------------------
1211-
1212-
-- 13 Apr 2017
1213-
1214-
api.deprecateField("buildrule", 'Use `buildcommands`, `buildoutputs`, and `buildmessage` instead.',
1215-
function(value)
1216-
if value.description then
1217-
buildmessage(value.description)
1218-
end
1219-
buildcommands(value.commands)
1220-
buildoutputs(value.outputs)
1221-
end)
1222-
12231198
-----------------------------------------------------------------------------
12241199
--
12251200
-- Install Premake's default set of command line arguments.

website/docs/Project-API.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
| [buildmessage](buildmessage.md) | |
2626
| [buildoptions](buildoptions.md) | Additional build options (passed directly to compiler) |
2727
| [buildoutputs](buildoutputs.md) | |
28-
| [buildrule](buildrule.md) | |
2928
| [callingconvention](callingconvention.md) | Sets the function calling convention |
3029
| [cdialect](cdialect.md) | |
3130
| [characterset](characterset.md) | Set the character encoding |

website/docs/Whats-New-in-5.0.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ title: What's New in 5.0
146146

147147
## Deprecated Values and Functions ##
148148

149-
* [buildrule](buildrule.md)
150149
* [flags](flags.md):
151150
* Component
152151
* EnableSSE, EnableSSE2: use [vectorextensions](vectorextensions.md) instead

website/docs/buildrule.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

website/sidebars.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ module.exports = {
7878
'buildmessage',
7979
'buildoptions',
8080
'buildoutputs',
81-
'buildrule',
8281
'buildstlmodules',
8382
'callingconvention',
8483
'cdialect',

0 commit comments

Comments
 (0)