Commit Graph

2016 Commits

Author SHA1 Message Date
starkos
d8782c076a Merge pull request #162 from leeonix/master
rename .pdb file name as targetname.
2015-08-04 12:09:07 -04:00
Manu Evans
25bb49e4d5 Merge pull request #191 from Lusito/feature/pathjoinfix
fix for path.join problem when both string start with a "..", a unit …
2015-08-04 01:46:10 +10:00
starkos
960892cb8b Merge pull request #194 from tritao/contributors
Added myself as a contributor.
2015-08-03 11:29:31 -04:00
triton
4d70e5e704 Added myself as a contributor. 2015-08-03 16:26:39 +01:00
Manu Evans
046da71a28 Merge pull request #188 from moomalade/outputof
Chomp newlines in os.outputof()
2015-08-02 10:52:29 +10:00
Manu Evans
247699e6ce Merge pull request #189 from moomalade/loadmodule_error
Improve module loadfile() error messages
2015-08-02 10:45:24 +10:00
Lusito
15ceabac48 fix for path.join problem when both string start with a "..", a unit test has been added 2015-08-01 21:10:02 +02:00
Tim Wharton
5ec37965a2 Improve module loadfile() error messages
Have the module package loader return the loadfile() error for file system modules,
and report the error from the calling script, rather than globals.lua.

This give marginally better errors when require()'ing modules with syntax errors.
The error will appear in the package loader list with the correct call site.

     Error: /Users/blah/premake5.lua:7: module 'wee' not found:
         no field package.preload['wee']
         load error /Users/blah/modules/wee/wee.lua:3: '=' expected near '<eof>'
	 ....
2015-08-01 04:10:15 +01:00
Tim Wharton
f8091ee53d Chomp newlines in os.outputof()
Fixes #45
2015-08-01 02:59:07 +01:00
leeonix
a52c947838 update test_compile_settings.lua 2015-08-01 09:28:07 +08:00
leeonix
dd8c5f1818 Merge remote-tracking branch 'premake-src/master' 2015-08-01 09:21:57 +08:00
leeonix
ccd1790324 add cfg.debugformat ~= "c7" condition. 2015-08-01 09:17:00 +08:00
leeonix
829a76060a add cfg.debugformat ~= "c7" condition. 2015-08-01 09:15:38 +08:00
starkos
6058243aa1 Merge pull request #187 from starkos/fix-clock-gettime
Link rt to fix missing clock_gettime() error on Linux
2015-07-31 19:01:01 -04:00
Jason Perkins
26df42d6c4 Link rt to fix missing clock_gettime() error on Linux 2015-07-31 18:59:53 -04:00
starkos
2d5fbbc7c9 Merge pull request #175 from TurkeyMan/gmake_arrays
Updated gmake actions to use function arrays
2015-07-31 17:58:29 -04:00
starkos
8e37948ba1 Merge pull request #166 from dcourtois/contrib_as_options
3rd party libraries are now options
2015-07-31 17:58:05 -04:00
starkos
eaaaecf274 Merge pull request #156 from Blizzard/http-download-fixes
fix http.download
2015-07-31 17:43:55 -04:00
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
Damien Courtois
9c3b435d15 inverted 3rd party contrib lib defaults and options 2015-07-27 15:55:55 +02:00
Manu Evans
bade299f6b Updated gmake actions to use function arrays
- Updated gmake action in the D module aswell
2015-07-27 23:14:32 +10: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
Damien Courtois
b5677f58d7 3rd party libraries are now options 2015-07-24 09:59:37 +02:00
leeonix
e8a7ce64ff update test_compile_settings.lua 2015-07-22 15:14:06 +08:00
leeonix
ac5dd3cfce if flags has Symbols. change .pdb file name. 2015-07-22 13:10:22 +08:00