Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruk33/wursty
Very simple dependency manager for Wurst projects/packages written in C
https://github.com/ruk33/wursty
Last synced: about 1 month ago
JSON representation
Very simple dependency manager for Wurst projects/packages written in C
- Host: GitHub
- URL: https://github.com/ruk33/wursty
- Owner: Ruk33
- Created: 2015-03-04T04:34:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-05T03:06:49.000Z (almost 10 years ago)
- Last Synced: 2023-05-05T16:20:08.924Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Wursty - a wurst dependency manager
Wursty is a very simple dependency manager for [Wurst](https://github.com/peq/WurstScript) projects/packages.##How to use it?
First compile wursty so you get wursty.exe. Place (opcionally) this .exe in your wurst project.
Then, create a 'dependencies' file (without quotes) and place it in your wurst project too (this file will contain all the dependencies and its versions).##How to write a dependencies file?
Its simple, the format is:```
[,]
[,]
```Example
```
http://github.com/Ruk33/somepackage.git,master
http://github.com/Ruk33/other_somepackage.git,a4537c55af4cdc563efbcaade51650030a1ca20e
http://github.com/Ruk33/rambopackage.git
```If no version is pointed, master will be (rambo is master).
##I have the .exe in the root folder and the dependencies file created, what now?
Simple run this command```
cd wurst/project && wursty [path/to/folder/where/dependencies/file/is]
```or
```
wursty path/to/folder/where/dependencies/file/is
```Example
```
cd wurst/project && wursty c:/wurst-project/
```If no path is passed, then it will be assing the current dir (from where you're executing wursty.exe).
This will grab all the dependencies of your project and place them in the vendor folder.
Example:
- proyect root
- wurst
- vendor
- ``
- ``##What happens if a dependency is requested in multiple versions?
It will only display an error message (I know, high tech).##How to compile?
```
cd path/to/wursty && make wursty
```##How to run tests?
```
cd path/to/wursty/tests && make &&
```Example running dependency tests
```
cd path/to/wursty/tests && make dependency && dependency
```