Comments (9)
- Why? If there's a warning, then something is wrong.
- Send a patch if you know how to do it better.
- You can override the default target, as far as I can tell that's all that's needed for 99% of the cases.
from erlang.mk.
- Because it affects building dependencies too. You can't respond for others. If dependency code has warnings, your target won't build.
- Yes, looking at that.
- Agree.
from erlang.mk.
If the dependency has warnings, you should first be concerned about using it, and then consider patching it if you really want to use it. Otherwise if you're really really sure you want to use it as-is you can always change the erlc flags in your makefile. Don't think we need to do anything there.
from erlang.mk.
- $(PROJECT) should be set (with ?=, to allow explicit overriding) to basename of the current dir make observes, to ease implicit injection of erlang.mk for deps that lack it.
from erlang.mk.
01:40:54 nox | essen: if you do a rule such as test_%: test/%_SUITE.erl, you can make a per-suite test target
12:40:10 nox | essen: if you want cool Make ideas
12:40:20 nox | take a look at ghc's targets
12:40:38 nox | they have a non-recursive make infrastructure with a lot of fancy targets like what I suggested
(DONE) 12:41:18 nox | also essen, in the ct_run call you do "-pa ebin $(DEPS_DIR)/*/ebin"
(DONE) 12:41:50 nox | if you give an absolute directory for ebin, ct_run will not say Converting "ebin" to "blablabla/ebin" and re-inserting with add_patha/1 on every run
from erlang.mk.
Someone also suggested a way to override targets like $(erlang.mk)compile: ...
from erlang.mk.
Hey,
• Considering L103, nox has a good lead IMHO
• Another thought: this makes for a more modular base Makefile IMHO
PROJECT = my_app
all: erlang.mk
erlang.mk:
git clone https://github.com/extend/erlang.mk.git erlang.mk.git
mv erlang.mk.git/erlang.mk $@
rm -rf erlang.mk.git
include erlang.mk
• Last thought: PROJECT
(the variable holding the project's name) should maybe be APP
instead. Every Erlang/OTP project is either an application or a application library, hence APP
.
from erlang.mk.
Set vsn attribute of all modules: https://twitter.com/nokusu/status/398849986701828096
from erlang.mk.
I believe all of this is either done or covered by other issues. If I missed something, please open an individual ticket per issue. Thanks!
from erlang.mk.
Related Issues (20)
- Release fails to build if top folder name is different from app name HOT 4
- system deps are not included in release anymore HOT 4
- Release package saved into a wrong output dir? HOT 3
- make RELOAD=1 does not work HOT 2
- Feature: Additional template modifiers HOT 1
- is Getting started instruction correct? HOT 1
- OTP26 dialyzer support: `--no_native` flag is gone HOT 1
- Feature: Compilation of Elixir projects
- autopatching is overly verbose (missing $(verbose)) HOT 3
- Add advice on project directory naming rule on `creating_a_folder_for_your_project` tutorial HOT 2
- Failed to eval: application:load(rebar) HOT 7
- Problem building NIF on Mac M1 HOT 2
- erlang.mk tutorial release build failure HOT 4
- Windows 11(OTP-26) release build : system cannot find the file path to \hello_rel_release\erts-14.0\bin\werl.exe.
- relx can't find app HOT 3
- Failing on Mac Sonoma 14 M2 HOT 1
- Crash release when `Erlang.mk` project has dependency builded and use `SemVer` VSN HOT 2
- Make failed, argument list too long HOT 4
- Build failure on OTP-27
- Allows apps dir to contain symlinks
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 erlang.mk.