This helper tool uses BBEdit's Preview Windows to preview Markdown syntax in your rustdocs. It has the following components: - A binary Preview Filter - The source for the filter, written in Rust, as a binary in the toolbox - The Preview CSS that uses the classes outputted by the filter
8 lines
337 B
Makefile
8 lines
337 B
Makefile
all:
|
|
xcodebuild -configuration Release
|
|
cp -r build/Release/Rust.bblm Contents/"Language Modules"
|
|
cd helper-tool; cargo build --release; cp target/release/impl-generator ../Contents/Resources/impl-generator; cp target/release/doc-splitter ../Contents/"Preview Filters"/"Rust Markdown"
|
|
|
|
clean:
|
|
rm -r build; cd helper-tool; cargo clean
|