Skip to content

Commit

Permalink
feat: Add moondoc command
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Jan 17, 2024
1 parent 8b7c881 commit 85886c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nu/moonbit.nu
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def fetch-bin [ bin: string, download_path: string ] {
# Download moonbit binary files to local
export def 'setup moonbit' [] {
let MOONBIT_BIN_DIR = [$nu.home-path '.moon'] | path join
const DEFAULT_BINS = ['moon', 'moonc', 'moonfmt', 'moonrun', 'mooninfo']
const DEFAULT_BINS = ['moon', 'moonc', 'moonfmt', 'moonrun', 'mooninfo', 'moondoc']
const WINDOWS_BINS = ['moon.exe', 'moonc.exe', 'moonfmt.exe', 'moonrun.exe']
mkdir $MOONBIT_BIN_DIR; cd $MOONBIT_BIN_DIR
let OS_INFO = $'($nu.os-info.name)_($nu.os-info.arch)'
Expand Down

0 comments on commit 85886c4

Please sign in to comment.