Crates.io | wng |
lib.rs | wng |
version | 4.0.2 |
source | src |
created_at | 2020-11-14 07:16:32.622555 |
updated_at | 2021-02-17 09:33:27.835864 |
description | The W package manager | WNG is a C package and projects manager written in Rust. |
homepage | |
repository | https://github.com/wngland/wng |
max_upload_size | |
id | 312272 |
size | 20,611 |
WW WW NN NN GGGG
WW WW NNN NN GG GG
WW W WW NN N NN GG
WW WWW WW NN NNN GG GG
WW WW NN NN GGGGGG
The W package manager
Copyleft (ɔ) 2020-2021 Wafelack
WNG is a C package and projects manager written in Rust. It permits projects build, run, creation and dependencies management.
It is highly customizable by a plugin system and it based on a highly modulable library.
It is available on Windows and Unix like systems.
It only requires a few prerequisties: a C compiler and git.
##############################################################
##############################################################
WNG is available on:
cargo cargo install wng
the releases page
Building from source:
Prerequisties: The latest stable rust toolchain
git clone git@github.com:wngland/wng
cargo build --release
bash install
Use wng setup
to enter wng basic configuration.
Use wng config reinit
to wipe out all the config file content
Use wng config edit <key> <value>
to edit/add a configuration key.
wng new <path>
to create a new project.This will create src/main.c
, project.toml
and the build folders.
wng build [--release]
to build the current project.The --release
flags specifies to build with the -O3
flag activated.
wng run [--release]
to build the current project and to run
the produced binary.The --release
flags specifies to build with the -O3
flag activated.
wng clean
to remove all the binaries and object files from the
build/
folder.wng dependencies add <dependency>
to add a dependency to
project.toml
.wng dependencies remove <dependency>
to remove a dependency from
project.toml
.wng install
to install the project dependencies in the src/
folder.WNG plugins have to be placed in $HOME/.wng/
with a name starting by wng-
.
A WNG plugin can be called with: wng -p <plugin_name_without_the_wng->
.
- MSVC support.
- Ability to run tests.
- C++ support.