Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prgfx/mscompose
Combine ManiaScript sourcefiles into one.
https://github.com/prgfx/mscompose
Last synced: 1 day ago
JSON representation
Combine ManiaScript sourcefiles into one.
- Host: GitHub
- URL: https://github.com/prgfx/mscompose
- Owner: PRGfx
- Created: 2015-11-17T12:27:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-09T17:51:48.000Z (almost 9 years ago)
- Last Synced: 2023-02-26T08:32:21.138Z (over 1 year ago)
- Language: Python
- Size: 32.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
MSCompose
=========
Given a list of local ManiaScript files in a set order, this project combines all of them into single files by respecting the order or constraints, global variables and functions.
Optionally the generated output can be compressed by removing unnecessary comments and whitespaces and output to a XML file which can be included into your Manialink with the `` tag.
Requirements
------------
Python3 to run the server, the rest should work with Python2.x.Usage
-----
Either you create a configuration file by hand and call `python mscompose.py ` or you start the server to get a UI to help you creating configurations and building projects with `python server.py`.
Further parameters:
* -p, --port The port to run the server on.
* --open Set this flag to automatically open the GUI in your browser.Configuration Format
--------------------
```json
{
"myBuildTarget": {
"active": True,
"files": [
"script/MyScript1.Script.txt",
"script/MyScript2.Script.txt"
],
"outputfile": "Default.Script.txt",
"compress": False,
"asXML": False,
"xmlfile": ""
}
}
```Build
-----
Just compile `main.scss` to `main.css` and `index.jade` to `index.html`.