Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Sep 28, 2023
1 parent a659327 commit 157d8ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
13 changes: 5 additions & 8 deletions Source/Function/Build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,11 @@ export default (async (...[File, Option]: Parameters<Type>) => {
--mergeModulesMergeMode module \
--entryPoints ${Object.values(Configuration.entryPoints).join(
" --entryPoints "
)}`
);

Exec("mv ./Documentation/functions ./Documentation/Function");

Exec(
`find ./Documentation -type f -name '*.html' \
| xargs sed -i.bak --regexp-extended 's:(href="([^"]+)?)functions/:\\1Function/:g'`
)}; \
mv ./Documentation/functions ./Documentation/Function ; \
find ./Documentation -type f -name '*.html' \
| xargs sed -i.bak --regexp-extended 's:(href="([^"]+)?)functions/:\\1Function/:g'
`
);
}) satisfies Type as Type;

Expand Down
3 changes: 2 additions & 1 deletion Target/Function/Build.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 157d8ea

Please sign in to comment.