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 1
1
/.eunit
2
2
/.release
3
- /docs
3
+ /doc
4
4
/ebin
5
5
/lib /* /ebin /*
6
6
/lib /* /tmp
Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ clean_exbeam:
126
126
# ==> Release tasks
127
127
128
128
SOURCE_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
130
130
131
131
docs : compile ../ex_doc/bin/ex_doc
132
- $(Q ) rm -rf docs
132
+ $(Q ) rm -rf doc
133
133
$(call COMPILE_DOCS,Elixir,elixir,Kernel)
134
134
$(call COMPILE_DOCS,EEx,eex,EEx)
135
135
$(call COMPILE_DOCS,Mix,mix,Mix)
@@ -146,9 +146,8 @@ release_zip: compile
146
146
zip -9 -r v$(VERSION ) .zip bin CHANGELOG.md LEGAL lib/* /ebin LICENSE Makefile README.md VERSION
147
147
148
148
release_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 )
152
151
153
152
# This task requires aws-cli to be installed and set up for access to s3.hex.pm
154
153
# 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