Browse Source

Remove `dev` profile

* use profiles by default (default / docs / test)
Sergey Prokhorov 2 years ago
parent
commit
4bf72d1dd4
2 changed files with 5 additions and 5 deletions
  1. 4 4
      Makefile
  2. 1 1
      rebar.config

+ 4 - 4
Makefile

@@ -6,7 +6,7 @@ MINIMAL_COVERAGE=80
 all: compile
 
 compile: $(REBAR)
-	$(REBAR) as dev compile
+	$(REBAR) compile
 
 run: $(REBAR)
 	@$(REBAR) as test shell --apps pooler --config config/demo.config
@@ -25,15 +25,15 @@ format_check: $(REBAR)
 	$(REBAR) fmt --check
 
 doc: $(REBAR)
-	$(REBAR) as dev edoc
+	$(REBAR) edoc
 
 clean: $(REBAR)
-	$(REBAR) as dev clean
+	$(REBAR) clean
 	$(REBAR) as test clean
 	@rm -rf ./erl_crash.dump
 
 dialyzer: $(REBAR)
-	$(REBAR) as dev dialyzer
+	$(REBAR) dialyzer
 
 # Get rebar3 if it doesn't exist. If rebar3 was found on PATH, the
 # $(REBAR) dep will be satisfied since the file will exist.

+ 1 - 1
rebar.config

@@ -42,7 +42,7 @@
 ]}.
 
 {profiles, [
-    {dev, [
+    {docs, [
         {edoc_opts, [{doclet, edown_doclet}]},
 
         {deps, [