Commit Graph

2081 Commits

Author SHA1 Message Date
Jason Perkins
d1ea0e81b1 More easy sln to wks renames 2015-08-12 14:56:06 -04:00
Jason Perkins
bf3e68287c More easy solution to workspace renames 2015-08-12 14:53:12 -04:00
StiX
16dded0499 Fixed path.normalize 2015-08-12 00:21:23 +02:00
Jason Perkins
1eb38c9fc1 Rename solution to workspace in oven and validation code 2015-08-11 16:31:17 -04:00
Manu Evans
59d10066e6 Merge pull request #202 from starkos/allow-nil-valid-lists
If action contains no valid language or kind lists, assume everything is supported
2015-08-11 10:29:31 +10:00
Jason Perkins
1d4fdc8980 If an action contains no valid language or kind lists, assume everything is supported
This makes it easier to write and maintain small utility or reporting actions that don't actually care about project kinds of languages. If you really don't want your action to support any kinds or languages (which would be weird, but okay) you can do:

```lua
valid_languages = {}
valid_kinds = {}
```
2015-08-10 13:19:33 -04:00
Jason Perkins
3d778a7151 Rename solution to workspace in global.lua and propagate changes 2015-08-10 13:05:26 -04:00
starkos
30dbdb5b15 Merge pull request #183 from Blizzard/bake-solution-config
Fully bake solution configs.
2015-08-09 17:55:56 -04:00
starkos
9153ca311b Merge pull request #199 from JohannesMP/patch-1
Changed google groups url to non-mobile version
2015-08-08 16:36:45 -04:00
Johannes
762883b754 Changed google groups url to non-mobile version 2015-08-07 20:06:58 -07:00
starkos
8fc81d978b Merge pull request #182 from Blizzard/file-queries
File queries
2015-08-04 14:57:06 -04:00
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
Tom van Dijck
21f4046793 Buffered I/O, and only write generated file if it changed. 2015-07-31 09:28:51 -07:00
Tom van Dijck
6223513122 Fully bake solution configs. 2015-07-30 18:27:59 -07:00
Tom van Dijck
aee6c98586 Allow calling code to save and restore a filter 2015-07-30 18:11:13 -07:00
Tom van Dijck
32885d1673 Files can now be queried for configuration properties. 2015-07-30 18:11:00 -07: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