Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion doc/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

import path ;

make html_ : build_antora.sh : @run-script ;

actions run-script
{
bash $(>)
}

path-constant DOC_DIR : . ;
.node_modules = [ path.join $(DOC_DIR) node_modules ] ;

make cleanup_node_modules_ : html_ : @cleanup-node-modules ;

actions cleanup-node-modules
{
bash -c "rm -rf node_modules"
rm -rf $(.node_modules)
}

###############################################################################
Expand Down