10 lines
399 B
Plaintext
10 lines
399 B
Plaintext
use settings.nu
|
|
use settings.nu [comp-host-names, comp-project-names]
|
|
|
|
# sync code to remove machine
|
|
export def "sync code" [host:string@comp-host-names, project:string@comp-project-names] {
|
|
# print $"sync with ($environment.build_host)"
|
|
# run-external "rsync" "-avPq" "--delete" "--filter=:- .gitignore" "--exclude" .git $"(project-root)/" $"($environment.build_host):(build-host-path)"
|
|
}
|
|
|