File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11/.eunit
22/.release
3- /docs
3+ /doc
44/ebin
55/lib /* /ebin /*
66/lib /* /tmp
Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ clean_exbeam:
126126# ==> Release tasks
127127
128128SOURCE_REF = $(shell head="$$(git rev-parse HEAD ) " tag="$$(git tag --points-at $$head | tail -1 ) " ; echo "$${tag:-$$head}\c")
129- COMPILE_DOCS = bin/elixir ../ex_doc/bin/ex_doc "$(1 ) " "$(VERSION ) " "lib/$(2 ) /ebin" -m "$(3 ) " -u "https://github.com/elixir-lang/elixir" --source-ref "$(call SOURCE_REF) " -o docs /$(2 ) -p http://elixir-lang.org/docs.html
129+ COMPILE_DOCS = bin/elixir ../ex_doc/bin/ex_doc "$(1 ) " "$(VERSION ) " "lib/$(2 ) /ebin" -m "$(3 ) " -u "https://github.com/elixir-lang/elixir" --source-ref "$(call SOURCE_REF) " -o doc /$(2 ) -p http://elixir-lang.org/docs.html
130130
131131docs : compile ../ex_doc/bin/ex_doc
132- $(Q ) rm -rf docs
132+ $(Q ) rm -rf doc
133133 $(call COMPILE_DOCS,Elixir,elixir,Kernel)
134134 $(call COMPILE_DOCS,EEx,eex,EEx)
135135 $(call COMPILE_DOCS,Mix,mix,Mix)
@@ -146,9 +146,8 @@ release_zip: compile
146146 zip -9 -r v$(VERSION ) .zip bin CHANGELOG.md LEGAL lib/* /ebin LICENSE Makefile README.md VERSION
147147
148148release_docs : docs
149- cd ../docs
150- rm -rf ../docs/$(DOCS )
151- mv docs ../docs/$(DOCS )
149+ rm -rf ../docs/$(DOCS ) /* /
150+ mv doc/* ../docs/$(DOCS )
152151
153152# This task requires aws-cli to be installed and set up for access to s3.hex.pm
154153# See: http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-set-up.html
You can’t perform that action at this time.
0 commit comments