Commit Graph

1603 Commits

Author SHA1 Message Date
Jason Perkins
82924ad947 Update supporting files for release; add 'zip' to list of required utilities for packaging 2015-02-23 17:08:19 -05:00
Jason Perkins
c56f316251 Prep new release scripts for first alpha packages 2015-02-22 19:02:09 -05:00
Jason Perkins
87762818f3 Return error code zero if --version option is specified to match other system tools 2015-02-22 10:18:07 -05:00
Jason Perkins
08c9a93e2b Remove non-functional embed action from the Premake4 version of the project script 2015-02-19 17:02:23 -05:00
Jason Perkins
2ae3479f58 Merged in tbasnoopy/premake-dev/buildoutput fix (pull request #149)
add missing buildoutputs fix for vs2010
2015-02-18 15:13:41 -05:00
M Skibbe
b5c37c25cc add missing buildoutputs fix for vs2010 2015-02-18 11:33:07 +01:00
Jason Perkins
5e51b54c3d Merge script path searching restrictions for release builds and user project scripts 2015-02-15 16:10:46 -05:00
Jason Perkins
b7dac40a67 Use a more restricted set of search paths when loading the user project script 2015-02-15 14:57:42 -05:00
Jason Perkins
e78cf3f61d Use a more restricted set of search paths when loading the core and bootstrap scripts 2015-02-15 14:30:17 -05:00
Jason Perkins
212c9ae919 Merge Windows system library linking fixes 2015-02-14 15:47:57 -05:00
Jason Perkins
c581403fe9 Remove .dll extension from managed assembly references in C++ projects 2015-02-14 15:41:41 -05:00
Jason Perkins
79507f946c Restore .lib extension on libraries from the MSC tool adapter 2015-02-14 15:30:17 -05:00
Jason Perkins
9ac067355d Reverse order of system and sibling libraries to match previous versions 2015-02-14 15:23:36 -05:00
Jason Perkins
f5abdb9d69 Remove ".lib" extension from system library links in generated makefiles on Windows 2015-02-14 14:56:02 -05:00
Jason Perkins
494196598e Fix Lua stack underflow in script loader 2015-02-13 16:03:32 -05:00
Jason Perkins
8390255470 Reverse search order of module naming variations to avoid matching embedded path ahead of local file 2015-02-12 18:29:48 -05:00
Jason Perkins
e9ac1dc74e Allow modules to be specified as bare Lua files, instead of placed in a module folder 2015-02-12 17:51:49 -05:00
Jason Perkins
4101fd8241 Fix "unused parameter" warning 2015-02-09 12:44:15 -05:00
Jason Perkins
1ddb214cc3 Fix "Error: (null)" messages on startup if main script can't be located on disk 2015-02-09 12:43:08 -05:00
Jason Perkins
38c5b79840 Add the directory containing the Premake executable to the script search path
This is a useful location for placing a system script.
2015-02-06 16:33:28 -05:00
Jason Perkins
25e1e766ae Allow modules to specify an explicit directory, i.e. require("build/mymodule")
This makes it easier to distribute modules along with a project's source code, giving full control over where the modules are kept in the tree.
2015-02-06 15:38:56 -05:00
Jason Perkins
8ecf4ac7f0 Add Sublime text project and workspace to hgignore list 2015-02-05 16:13:49 -05:00
Jason Perkins
0f4e94f19c Merge module and script loading improvements 2015-02-05 16:12:01 -05:00
Jason Perkins
73a40b228a Create premake namespace in host *and* script until everyone has had a chance to update 2015-02-04 19:24:28 -05:00
Jason Perkins
f2c8b640d6 Pass through error messages from script loading; fixes misleading 'file not found' messages 2015-02-05 15:59:02 -05:00
Jason Perkins
7ed7af38db Allow action path variable maps to use functions as replacement values 2015-02-04 19:19:16 -05:00
Jason Perkins
a340df826b Drop no longer needed path.getabsolute() from main script loading 2015-02-04 19:16:05 -05:00
Jason Perkins
78678a193d Restore more of the script search locations 2015-02-04 18:56:45 -05:00
Jason Perkins
2e76782abc Move initialization of _USER_HOME_DIR to host 2015-02-04 18:39:02 -05:00
Jason Perkins
c936229eac Restore PREMAKE_PATH searching 2015-02-03 19:52:05 -05:00
Jason Perkins
1bd13569b9 Populate new global premake.path with search path; use in script loader
I've only implemented searching on the --scripts path with this commit; more paths coming in next commits.
2015-02-03 19:25:30 -05:00
Jason Perkins
cca1ea6643 Move premake namespace creation into host 2015-02-03 16:14:52 -05:00
Jason Perkins
ae6ee359d1 Merged in tbasnoopy/premake-dev/buildoutput fix (pull request #145)
Fix buildoutputs format for multiple outputs
2015-01-28 11:37:30 -05:00
M Skibbe
314d8cbe2d fix buildoutputs format 2015-01-28 09:26:57 +01:00
Jason Perkins
32a81cf19e Exclude empty C# user file property groups 2015-01-26 17:04:29 -05:00
Jason Perkins
a8a2595d79 Merge toolset path variables feature 2015-01-22 16:34:04 -05:00
Jason Perkins
74c5bfd7bd Handle absolute path tokens placed in path fields, which are themselves absolute 2015-01-21 17:22:19 -05:00
Jason Perkins
2418a84fbd Add more Visual Studio path variables 2015-01-20 17:55:47 -05:00
Jason Perkins
3f718a470c Add ability to map Premake tokens to toolset specific variables 2015-01-15 12:00:57 -05:00
Jason Perkins
98ab499f13 Revert ToolVersion change on VC 2013 .filters files to match VS 2015-01-12 17:17:56 -05:00
Jason Perkins
623c5d3d79 Merge new and improved action callback functions (h/t Richard Geary) 2015-01-22 13:18:17 -05:00
Jason Perkins
0c740abdb5 Switch action callbacks to new, preferred capitalization 2015-01-22 13:14:02 -05:00
Jason Perkins
6e60775e78 Add onStart and onEnd action callbacks; change capitalization of onSolution and onProject to match 2015-01-21 15:47:29 -05:00
João Matos
da75753b0d Added support for debug arguments to the C# VS/XS projects generators.
Obsoletes pull request #113, thanks to Elias Holzer for original code.
2015-01-02 22:26:13 +00:00
Jason Perkins
b9d6ce892b Fix Visual Studio 2013 tool and framework version numbers 2014-12-29 15:18:07 -05:00
Jason Perkins
c922f3a199 Fix "unused parameter" warning 2014-12-24 16:40:15 -05:00
Jason Perkins
e507d1a2fb Exclude resource elements from Visual Studio when no resource files are present 2014-12-23 20:05:40 -05:00
Jason Perkins
247018cef0 Fix relative loading of embedded scripts when local file exists 2014-12-22 17:08:47 -05:00
Jason Perkins
25255da22d Error on attempts to override a missing function 2014-12-22 11:52:57 -05:00
Jason Perkins
b47d85390e Add target field name to "invalid value" error messages 2014-12-22 11:52:31 -05:00