Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6006,6 +6006,16 @@ Pug:
codemirror_mode: pug
codemirror_mime_type: text/x-pug
language_id: 179
Premake:
type: programming
tm_scope: source.lua
ace_mode: lua
codemirror_mode: lua
codemirror_mime_type: text/x-lua
color: "#e67e22"
filenames:
- premake5.lua
language_id: 716734903
Puppet:
type: programming
color: "#302B6D"
Expand Down
79 changes: 79 additions & 0 deletions samples/Premake/premake5.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
-- Sample: premake5.lua
-- Source: https://github.com/TheCherno/glfw/blob/9bed794ab7c1b961aaca259403695bbd3870d3b3/premake5.lua
-- License: https://github.com/glfw/glfw/blob/master/LICENSE.md (zlib)


project "GLFW"
kind "StaticLib"
language "C"

targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")

files
{
"include/GLFW/glfw3.h",
"include/GLFW/glfw3native.h",
"src/glfw_config.h",
"src/context.c",
"src/init.c",
"src/input.c",
"src/monitor.c",
"src/vulkan.c",
"src/window.c"
}
filter "system:linux"
pic "On"

systemversion "latest"
staticruntime "On"

files
{
"src/x11_init.c",
"src/x11_monitor.c",
"src/x11_window.c",
"src/xkb_unicode.c",
"src/posix_time.c",
"src/posix_thread.c",
"src/glx_context.c",
"src/egl_context.c",
"src/osmesa_context.c",
"src/linux_joystick.c"
}

defines
{
"_GLFW_X11"
}

filter "system:windows"
systemversion "latest"
staticruntime "On"

files
{
"src/win32_init.c",
"src/win32_joystick.c",
"src/win32_monitor.c",
"src/win32_time.c",
"src/win32_thread.c",
"src/win32_window.c",
"src/wgl_context.c",
"src/egl_context.c",
"src/osmesa_context.c"
}

defines
{
"_GLFW_WIN32",
"_CRT_SECURE_NO_WARNINGS"
}

filter "configurations:Debug"
runtime "Debug"
symbols "on"

filter "configurations:Release"
runtime "Release"
optimize "on"
1 change: 1 addition & 0 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **PowerBuilder:** [informaticon/PowerBuilder.tmbundle](https://github.com/informaticon/PowerBuilder.tmbundle)
- **PowerShell:** [PowerShell/EditorSyntax](https://github.com/PowerShell/EditorSyntax)
- **Praat:** [orhunulusahin/praatvscode](https://github.com/orhunulusahin/praatvscode)
- **Premake:** [LuaLS/lua.tmbundle](https://github.com/LuaLS/lua.tmbundle)
- **Prisma:** [prisma/vscode-prisma](https://github.com/prisma/vscode-prisma)
- **Processing:** [textmate/processing.tmbundle](https://github.com/textmate/processing.tmbundle)
- **Procfile:** [benspaulding/vscode-procfile](https://github.com/benspaulding/vscode-procfile)
Expand Down
Loading