Skip to content

Commit

Permalink
WIP: revert me
Browse files Browse the repository at this point in the history
  • Loading branch information
ieQu1 committed Jan 1, 2025
1 parent d073d6b commit 9d8d0e3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Install additional packages
run: |
apt-get update
apt-get install -y texinfo
# - name: Install additional packages
# run: |
# apt-get update
# apt-get install -y texinfo
- name: Compile and run tests
env:
BUILD_WITHOUT_QUIC: "true"
run: |
git config --global --add safe.directory $(pwd)
make all docs
chmod +x scripts/docgen.escript
make docs
- name: Create release package
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ doc/html/index.html: $(TEXINFO)
texi2any -I doc/lee --html -c INFO_JS_DIR=js -c HTML_MATH=mathjax -o doc/html/ $<

$(TEXINFO): scripts/docgen.escript compile
$(CURDIR)/scripts/docgen.escript doc/lee
scripts/docgen.escript doc/lee

.PHONY: clean
clean: distclean
Expand Down
4 changes: 3 additions & 1 deletion scripts/docgen.escript
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/escript
#!/usr/bin/env escript
%%! -pa _build/default/lib/lee/ebin -pa _build/default/lib/typerefl/ebin -pa _build/default/lib/emqttb/ebin
%% -*- erlang -*-

-mode(compile).

-include_lib("lee/include/lee.hrl").

main(OutDir) ->
Expand Down

0 comments on commit 9d8d0e3

Please sign in to comment.