{"size": 449, "ext": "scrbl", "max_stars_repo_path": "post/2020-11-15-raco-run.scrbl", "max_stars_repo_name": "SmallFont00/racket-tw.github.io", "max_stars_repo_stars_event_min_datetime": "2020-06-21T15:07:58.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-21T15:07:58.000Z", "max_issues_repo_path": "post/2020-11-15-raco-run.scrbl", "max_issues_repo_name": "SmallFont00/racket-tw.github.io", "max_issues_repo_issues_event_min_datetime": "2020-06-24T03:17:49.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-08T06:00:08.000Z", "max_forks_repo_path": "post/2020-11-15-raco-run.scrbl", "max_forks_repo_name": "SmallFont00/racket-tw.github.io", "max_forks_repo_forks_event_min_datetime": "2021-05-21T12:17:27.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-22T08:03:44.000Z"}
{"max_stars_count": 1, "max_issues_count": 9, "max_forks_count": 2, "avg_line_length": 12.4722222222, "max_line_length": 61, "alphanum_fraction": 0.723830735}
#lang scribble/manual
@(require (for-label racket))

@title{raco-run}
@author[(author+email "Lîm Tsú-thuàn" "dannypsnl@gmail.com")]

raco-run 是一個 raco 指令介面擴展，可以直接通過 raco 執行相應模組內的程式

@section{安裝}

指令

@codeblock|{
raco pkg install raco-run
}|

@section{使用}

這個指令需要模組與子模組名稱

@codeblock|{
raco run <module> <submodule>
}|

例如執行一個檔案(每個檔案都是一個模組)下的測試

@codeblock|{
raco run main.rkt test
}|

或是執行安裝的程式(以 sauron 為案例)：

@codeblock|{
raco run sauron main
}|
