Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Update run-me script
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Sep 8, 2023
1 parent ed6ede4 commit 7ab6c9e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,14 @@
script = ''
def color [color: string, msg: string] { $"(ansi $color)($msg)(ansi reset)" }
def info [msg: string] { print $"(color "blue" "INFO"): ($msg)" }
def success [msg: string] { print $"(color "green" "SUCCESS"): ($msg)" }
info "Running script"
info "Something else is happening now"
info "Nearing completion"
def success [msg: string] { print $"(color "green" $msg)" }
info $"Hello, NixCon (date now | date format "%Y")!"
info "So lovely to see everyone today"
info "Conference status:"
success "SUCCESS"
info "Nearing completion..."
info "Script status:"
success "DONE"
'';
};
Expand Down

0 comments on commit 7ab6c9e

Please sign in to comment.