Comments (5)
I'd rather not have this. Its caused lots of trouble to npm and Isaac is constantly trying to discourage people from using it. Is there a concrete use case where this is needed?
from lit.
How about a post-install message? Sublime Text sort of does this with package control after you install or update a plugin. This way you can have something like:
you must have X
in your path to use this module
or even
please see http://example.com/usage for compile instructions before using this module
I think Sublime Plugins do a good job of this post-install message stuff, but they serve a full text file and not just a single line
from lit.
I'm working on a package that relies on existing luarocks packages. Instead of having to include precompiled versions of those packages for multiple platforms, I want to use luarocks to install them when installing the lit package.
from lit.
+1 for no scripts. I think @lhelsloot makes a perfect example of the type of abuse such a feature could permit. lit is a lua package manager whos job is to manage luvi app dependencies dependencies, not luarocks. If I installed a luvi package, and it went on to install a bunch of luarocks, I would be irritated to say the least.
Also, as a dev, I expect to be able to make a standalone executable which contains all my deps after 'make' is done. Adding scripts to the lit installation means you have an inconsistent environment between where you installed the app, and where you deploy/distribute it.
from lit.
I really don't want to enable script hooks, they are dangerous and very non-portable. If you do have a need to mix package systems, use something higher level like chef that is made for this kind of work instead of adding responsibility to lit.
from lit.
Related Issues (20)
- New Lit version HOT 1
- Lit exe sometimes doesn't exit after it finishes HOT 1
- lit.luvit.io: 502 Bad Gateway errors HOT 3
- coro libraries naively assert coroutine resumes, original stack trace is lost. HOT 4
- coro-net/coro-http server leaks connections? HOT 17
- Mistaken Luvi and Lit versions in `get-lit.sh` on 3.8.5 branch? HOT 6
- Running lit commands in docker build segfault at exit. HOT 3
- Support managing development dependencies (?)
- When attempting to make packages from a GitHub repository, lit assumes the deprecated "master" branch HOT 1
- 'no start line' when running lit auth HOT 4
- "No such hash" lit install reports HOT 7
- coro-channel: resuming before having a chance to yield HOT 2
- An option for an HTTPS proxy
- lit publish `tag.type must be string` HOT 5
- Lit package archives are non-determininistic
- "unprotected error in call to Lua API" with custom binary HOT 5
- "unprotected error in call to Lua API" with custom binary HOT 1
- building lit with luajit-removed luvi causes build to fail HOT 5
- Mis-tagged release HOT 1
- Author name case sensitivity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lit.