GithubHelp home page GithubHelp logo

luamake's Introduction

luamake

Install Instructions

1. Clone repo and submodules

git clone https://github.com/actboy168/luamake
cd luamake
git submodule update --init

2. Install:

Windows (msvc):

compile/install.bat

Linux / MacOS / Android / NetBSD / FreeBSD / OpenBSD / Windows (mingw)

Install Ninja

compile/install.sh

or

sudo -s compile/install.sh

3. Useful Build Commands

compile

msvc > compile/build.bat
other> compile/build.sh

compile and skip test

msvc > compile/build.bat notest
other> compile/build.sh notest

clean

msvc > compile/build.bat -t clean
other> compile/build.sh -t clean

Quick Start

Create file make.lua. For example, this is a make.lua to compile lua:

local lm = require "luamake"
lm:exe "lua" {
    sources = {
        "src/*.c",
        "!src/luac.c" -- ignore luac.c
    }
}

Build

$ luamake

Run

$ ./build/bin/lua

Commands

luamake

Build your project.

luamake clean

Clean build output.

luamake rebuild

Equivalent to luamake clean && luamake

luamake lua [lua filename]

Run lua file.

luamake test

Equivalent to luamake lua test.lua

luamake's People

Contributors

actboy168 avatar tqfx avatar passos avatar notpeter avatar stnley avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.