Commit Graph

1990 Commits

Author SHA1 Message Date
starkos
52444baed0 Merge pull request #186 from starkos/fix-zip-build
Fix Windows build errors introduced by zip.extract() commit
2015-07-31 17:18:43 -04:00
Jason Perkins
aa31909d1d Fix Windows build errors introduced by zip.extract() commit 2015-07-31 16:50:36 -04:00
starkos
6f2d3b9f18 Merge pull request #155 from Blizzard/unzip
add zip.extract(src, dst) method.
2015-07-31 16:31:17 -04:00
starkos
236dd35f62 Merge pull request #145 from Meoo/master
Fix #39, working tokens and wildcards in the same path
2015-07-31 16:08:43 -04:00
Manu Evans
96848b28f1 Merge pull request #180 from starkos/rename-solution-to-workspace
Begin renaming solution to workspace
2015-07-31 09:31:38 +10:00
starkos
8ee9529315 Merge pull request #161 from Blizzard/entrypoint-api
add 'entrypoint' API.
2015-07-30 18:54:57 -04:00
starkos
50d89a1c00 Merge pull request #168 from TurkeyMan/more_sse
Added some missing SSE versions that I've wanted a few times
2015-07-30 15:49:17 -04:00
starkos
8d26f3a723 Merge pull request #179 from Lusito/feature/readme
Readme overhaul
2015-07-30 15:47:22 -04:00
Jason Perkins
9926ba7738 Add workspace symbol ("wks") to token expansion environments
This lets you replace a token like "%{sln.name}" with "%{wks.name}". The "sln" is still supported.
2015-07-30 15:39:26 -04:00
Jason Perkins
91220c7d71 Replace "wrk" with "wks" 2015-07-30 15:30:41 -04:00
Lusito
59ba33f9ed Linking to a wiki page about unit tests 2015-07-30 16:26:24 +02:00
Lusito
d783a9e293 further readme adjustments 2015-07-30 01:23:16 +02:00
Jason Perkins
a82466c6f4 Rename solution.lua to workspace.lua and change names internally 2015-07-29 15:45:27 -04:00
Jason Perkins
f5e27d1e6d Change action callbacks from "solution" to "workspace" 2015-07-29 15:40:20 -04:00
starkos
1b2f19fa87 Merge pull request #177 from TurkeyMan/gcc_prefix
Fixed GCC prefix, which was all messed up somehow
2015-07-28 19:47:47 -04:00
Jason Perkins
2db9ed2061 Change solution() to workspace() with minimum changes 2015-07-28 19:08:28 -04:00
Jason Perkins
e84cc11412 Add ability to safely alias function names without breaking overrides
Introduces new calls premake.alias() and premake.resolveAlias()
2015-07-28 17:20:13 -04:00
Lusito
1de349d34f Readme overhaul 2015-07-28 22:18:28 +02:00
Manu Evans
c4a70b0af3 Fixed GCC prefix, which was all messed up somehow 2015-07-28 22:27:58 +10:00
Tom van Dijck
b9402b0e67 add 'entrypoint' API. 2015-07-27 10:30:51 -07:00
Manu Evans
2706449670 Merge pull request #172 from starkos/fix-project-type-validation
Move project language and kind checks to validation.lua
2015-07-27 20:44:03 +10:00
Manu Evans
0be06b9d14 Merge pull request #174 from TurkeyMan/fix-utf8-bom-capture
Add capture support to UTF8 BOM output
2015-07-27 20:18:39 +10:00
Jason Perkins
bfc67b5c51 Add capture support to UTF8 BOM output
If `io.utf8()` is called while running unit tests, it would be output directly to the console since there is no active file output while testing. Replace call with premake.utf8() as a companion to premake.w() and ignore while capturing to prevent this spurious output.
2015-07-27 20:14:48 +10:00
Jason Perkins
e4f2dd7639 Move project language and kind checks to validation.lua
These validation checks were added to oven.lua by a previous commit. Move them over to validation.lua with the rest of the validation logic.
2015-07-26 18:31:08 -04:00
starkos
d25e1061d0 Merge pull request #163 from TurkeyMan/update_actions
Updated extensions
2015-07-26 11:54:15 -04:00
Manu Evans
fa02da93c6 Updated extensions to modern style, added a heap of tests 2015-07-26 23:53:24 +10:00
Manu Evans
da385c897b Added some missing SSE versions that I've wanted a few times. 2015-07-25 15:11:57 +10:00
Manu Evans
1c27cca3f2 Merge pull request #131 from tbasnoopy/localdebuggertype
allow changing of local debugger type
2015-07-20 20:36:00 +10:00
starkos
a2d7160bb7 Merge pull request #153 from Blizzard/added-table-functions
Add table.insertsorted, table.unique, table.filter and table.insertkeyed
2015-07-19 14:22:15 -04:00
starkos
a66aae1057 Merge pull request #152 from Blizzard/detoken-fix
fix bug in detoken.
2015-07-19 14:21:44 -04:00
starkos
072c4581b9 Merge pull request #81 from Blizzard/validate_options
add validation of valid_kinds and valid_languages
2015-07-19 13:54:52 -04:00
starkos
e1c18c0fe8 Merge pull request #158 from starkos/vc2010-cleanup
VC 2010 exporter cleanup
2015-07-17 16:12:36 -04:00
Jason Perkins
d2452f23e9 Use m.element() consistently; precursor to enabling more per-file configuration settings 2015-07-15 16:52:57 -04:00
Jason Perkins
d7525cf1d9 Replace "premake." with "p." consistently 2015-07-15 16:52:56 -04:00
Jason Perkins
de7b6e001d Code cleanup; finish converting to new indentation-aware output APIs 2015-07-15 16:52:56 -04:00
Jason Perkins
6be595f126 Consolidate file handling in VC 2010 exporter 2015-07-15 16:52:56 -04:00
Jason Perkins
f94c5aee15 Convert custom build files export to call array 2015-07-15 16:52:56 -04:00
Jason Perkins
59644e42fb Convert VC 2010 file configurations export to call array; bit of cleanup 2015-07-15 16:52:56 -04:00
starkos
5566d7dd60 Merge pull request #157 from starkos/fix-external-rules
Fix handling of external rules
2015-07-15 16:06:54 -04:00
Jason Perkins
b323613cdf Enable rules for later version of Visual Studio 2015-07-15 12:20:06 -04:00
Jason Perkins
6d6fe29dcf Stop generating rules and solutions when they have been marked as external 2015-07-15 12:19:46 -04:00
Tom van Dijck
26008f0bed both key and value need to be expanded for tables. 2015-07-14 15:12:52 -07:00
Tom van Dijck
da6009f128 some compile fixes. 2015-07-14 14:11:10 -07:00
Tom van Dijck
bcba1a2e39 allow os.mkdir to recursively create a folder path. 2015-07-14 11:35:52 -07:00
Tom van Dijck
600ecf4cbd add zip_extract(src, dst) method. 2015-07-14 10:24:09 -07:00
Tom van Dijck
58b60aa232 Add table.insertsorted, table.unique, table.filter and table.insertkeyed 2015-07-14 09:37:16 -07:00
Tom van Dijck
92b704ed96 fix bug in detoken. 2015-07-14 09:34:40 -07:00
Tom van Dijck
9a4e49efcc use premake.warn instead of printf, and fix the visual studio action warnings. 2015-07-14 09:31:31 -07:00
Tom van Dijck
53e4145765 add nil check, remove 'self' as argument, just get it through action.current() 2015-07-14 09:31:31 -07:00
Tom van Dijck
7ce257badc add validation of valid_kinds and valid_languages 2015-07-14 09:31:31 -07:00