Skip to content

Premake Extension for packages hosted on GitHub

Notifications You must be signed in to change notification settings

tritao/premake-ghp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Premake GitHub packages

An extension to premake for consuming packages from GitHub repositories.

This extension makes it easy to share and consume C/C++ projects!

Import this extension by placing it somewhere that premake can find it then use.

require 'ghp'

Import packages using the ghp.import function in your workspace which refers to a GitHub organization/repository and release.

ghp.import('mversluys/protobuf', '2.6.1')

Pull include directies and libraries into your projects with ghp.use.

ghp.use('mversluys/protobuf')

You can also require premake modules directly from github with ghp.require.

ghp.require('mversluys/premake-autoconf', '0.1')

For more information, including how to publish your own packages, see the wiki.

For a working sample project, see premake-ghp-sample.

A public index of available packages can be found here http://www.premake-ghp.com.

Acknowledgements

This extension utilizes the following Lua packages

  • lunajson -- JSON parser/encoder/decoder
  • semver -- Semantic Versioning

About

Premake Extension for packages hosted on GitHub

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages