https://github.com/jwerle/clib-link
Symlink an existing clib project source to yours
https://github.com/jwerle/clib-link
Last synced: 11 months ago
JSON representation
Symlink an existing clib project source to yours
- Host: GitHub
- URL: https://github.com/jwerle/clib-link
- Owner: jwerle
- License: mit
- Created: 2014-05-14T12:29:15.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-15T02:38:38.000Z (about 12 years ago)
- Last Synced: 2025-03-29T19:11:09.380Z (about 1 year ago)
- Language: Shell
- Size: 160 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
clib-link
=========
Symlink an existing clib project source to yours
## install
With [clib](https://github.com/clibs/clib):
```sh
$ clib install jwerle/clib-link
```
From source:
```sh
$ git clone git@github.com:jwerle/clib-link.git /tmp/clib-link
$ cd /tmp/clib-link
$ make install
```
## usage
Making a clib project global:
```sh
$ cd /path/to/clib/project
$ clib link
```
This will symlink your source defined in `package.json` to
`/usr/local/clibs/{PROJECT_NAME}`. Use `{PROJECT_NAME}` as the
clib name when linking back to your project.
Linking a global project to yours:
```sh
$ clib link my-lib-project
```
The project `my-lib-project` will be symlinked to your `deps/` directory.
## license
MIT