sm.expand
v0.1.17
Published
**Status: DEV**
Downloads
9
Readme
Status: DEV
sm.expand
Install Source Logic from the Semantic Web to the local Context.
API
./sm.expand
Uses installers to setup sources:
Use Cases
NodeJS
Given /package.json
:
{
"@github.com~sourcemint~sm.expand~0/map": {
"sources": {
"<uid>": {
"<rev>": {
"url": "git://[email protected]:sourcemint/sm.expand.git",
"installer": "npm"
}
}
},
"mappings": {
"<alias>": "<uid>/{rev}"
},
"@github.com~sourcemint~sm.expand~0/locations": {
"sources": ".deps/{uid}/source/installed/{rev}",
"mappings": "node_modules/{alias}"
}
}
}
And running from CWD: /:
./sm.expand
Will yield:
- Installed source at
/.deps/<uid>/source/installed/{rev}
- Symlink at
/node_modules/<alias>
, linked to/.deps/<uid>/source/installed/{rev}