Comments (6)
I'd say there isn't one currently. Globally would be the way to go eventually but not the best way to go if you mean public repos. Private projects it makes sense to just have relx installed globally.
from relx.
Personally, I like to keep rebar/relx out of repositories and have them be a system dependency. With rebar especially I've found that bundled versions tend to have incompatible bytecode on TravisCI and depending on how your Makefile is written you're at the mercy of individual developer's PATH order.
There are trade-offs both ways, of course, and what works is largely a matter of context.
from relx.
A nice way I've seen with rebar is to do this in your Makefile:
REBAR=$(shell which rebar)
ifeq ($(REBAR),)
REBAR=$(CURDIR)/rebar
endif
$(REBAR):
wget https://github.com/rebar/rebar/wiki/rebar
chmod a+x rebar
I'll need to make a release off relx to put up with github's new releases feature and then we could do that for relx as well.
from relx.
I have shell scripts like this:
REBAR=`which rebar || echo ./rebar`
$REBAR skip_deps=true compile
probably a good idea to use something similar for relx
.
RELX=`which relx || echo ./relx`
$RELX ...
BTW: I think rebar
got initial traction by being copied into many open source repos. Only when it was almost de-facto standard they recommended to start installing it globally.
from relx.
Yup, that is why we went this way with relx and had converted sinan to an escript as well near its end of life. So going to same route with relx.
Shall I close this ticket?
from relx.
yes. thanks
from relx.
Related Issues (20)
- The configuration registry key could not be read HOT 13
- Custom name of the start script HOT 1
- `init terminating in do_boot` error after adding _checkouts dependency.
- Replace of OS Variables enters endless loop if OS variable contains an ampersand HOT 1
- Rebar3 .app file pkg_name for hex and relx HOT 7
- Tar --output-dir error HOT 7
- extended_bin does not account for cookie being set in an extended vm.args HOT 2
- First "daemon" startup hangs if no cookie is specified HOT 2
- Bash error while running in a directory with space in the name HOT 4
- Outdated website
- Allow applications to provide alternative user-facing messages HOT 10
- Mode = prod + system_libs = false produces broken release
- "rebar3 as prod tar" overlay does not take effect HOT 1
- Some extended start script commands fail on Windows
- Proposal: Allow disabling extended start script commands HOT 1
- Changes made to sys.config.src are not taking effect under windows
- https://erlanger.slack.com/archives/C055DJA49/p1703153178619079
- relx_app_info:optional_applications/1 looks at wrong attribute HOT 1
- Make tar structure compatible with plain `release_handler` upgrades HOT 1
- Add fail_if_missing option
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 relx.