Comments (4)
How does that AlfredBundler::load_env nodejs
double colon stuff work? (bash is not my strong point).
from alfred-bundler.
Turns out the Google's Shell coding style recommends prefixing library functions with LIBRARYNAME::
.
Regular bash functions, thus, can have colons in them (who knew?). So, to avoid naming conflicts, I'm removing the older __
prefixes and adding AlfredBundler::
as the prefix. Although, according to the coding standards, that should probably be something like alfred_bundler
, but I'm trying to keep some consistency through all of the bundlers.
See AlfredBundler.sh
for a partly re-written version of the bash bundler backend that has the library prefixes. Bonus: it now handles all of the icon color conversion calculations natively. Floating point math in bash! Woot.
from alfred-bundler.
Oh, here's a more direct answer:
We'd create a function called AlfredBundler::load_env
that could take a few predefined environments that we've created, and that would (1) install the environment (which would take forever) and (2) return the path to the main binary.
from alfred-bundler.
While I'm still not too sure how I feel about this, I still think that we'd have to compile stand-alone binaries in order to keep these from the rest of the system (and because we can't assume that the user will have the correct dev tools to compile a sandboxed version).
Here are two tools that might help:
from alfred-bundler.
Related Issues (20)
- Pashua suggestion HOT 13
- META: Bundler Tracking HOT 17
- Ruby Bundler TODO HOT 4
- Icon Fonts HOT 33
- Applescript Bundlet HOT 42
- Applescript Libraries HOT 11
- Bash bundler allows arbitrary version numbers HOT 4
- PHP Logging HOT 3
- Invalid font creates empty directory tree HOT 3
- AppleScript Bundler Needs to be distributed uncompiled HOT 10
- AppleScript Bundler Logging HOT 4
- Wrapper Tests HOT 5
- Ruby Logging
- Check-in HOT 1
- "Latest" in Bundler Asset JSON HOT 13
- Update broken
- Python unit tests
- Python documentation
- Python demo workflow
- Icon server up-to-date
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 alfred-bundler.