1
0
mirror of https://github.com/natnat-mc/moonbuild synced 2026-05-28 09:39:40 +02:00

updated the binary to not be packaged with the library

This commit is contained in:
Codinget
2020-11-13 20:12:24 +01:00
parent ce942f9da8
commit c6004f1582
4 changed files with 13 additions and 2695 deletions
+4 -6
View File
@@ -1,15 +1,13 @@
-- load everything we need
import loadfile from require 'moonscript.base'
Context = require 'moonbuild.context'
Variable = require 'moonbuild.core.Variable'
DepGraph = require 'moonbuild.core.DAG'
Executor = require 'moonbuild.core.executor'
import parseargs from require 'moonbuild._cmd.common'
import Context, DepGraph, Executor from require 'moonbuild'
Variable = (require 'moonbuild')['core.Variable']
import parseargs from (require 'moonbuild')['_cmd.common']
argparse = require 'argparse'
import sort, concat from table
import exit from os
-- parse the arguments
argparse = require 'argparse'
parser = with argparse "moonbuild", "A build system in moonscript"
\option '-b --buildfile', "Build file to use", 'Build.moon'
\option '-j --parallel', "Sets the number of parallel tasks, 'y' to run as many as we have cores", '1'