![]() The yaml config should contain "remotes" (optional), "envs", and a hash of "targets". If no -default or -yaml is provided and in the current or parent working directory thereĮxists a ron.yaml, then those will be used as the -yaml option. Those can also be overidden with another yaml file. Ron contains a default set of envs and targets that can be inspected with theįlag options listed above. ![]() Path to override yaml file, can be local or http. List the initialized environment variables. Path to the default yaml config file, local or http. The target (t,target) command allows for specifying bash scripts within yaml files for execution.Įxecuted targets can be specified by giving the filename without extension, and the Only that file will replace text, if a directory is given it will recurse all files The replace (replace) command will replace text in a file or directories. ^C3 17:02:40 cmd.go:37: captured interruptģ 17:03:06 cmd.go:40: captured child exited continue.ģ 17:03:11 watch.go:28: event: "foo": CREATEģ 17:03:11 watch.go:47: Detected new file fooģ 17:03:11 runit.go:123: killing subprocessĭockerfile README.md _vendor bin config foo make.sh srcģ 17:03:11 cmd.go:40: captured child exited continue.ģ 17:03:11 watch.go:28: event: "foo": CHMOD With watch wait for file changes before running the command.ĭockerfile README.md _vendor bin config make.sh srcģ 17:02:38 cmd.go:40: captured child exited continue.ģ 17:02:39 cmd.go:40: captured child exited continue. Usage: ron cmd -wait -watch -restart Ī comma seperated list of regex patterns to ignore *optional (default ".*\\.git.*.*\\.DS_Store$.*\\.pyc$") The cmd (cmd) command allows for watching file changes and restarting or executing commands. Set-Cookie: NID=98=TKCxQ2pGglNzt6RfHysWo6m-KmiUtHV0UWIuIJa2SLqnLIx2G9mRwuDTntyLvOIZD6bDVVw_jnbHuqUwiiAUqE_xIaiyNpcBtIjpkoCRkuGQu1Pb2Y1rBaLlVBLWrj008GArnUIe5lmshObT expires=Wed, 3 20:27:43 GMT path=/ domain=. HttpOnlyĭNS Lookup TCP Connection Server Processing Content Transfer P3p: CP="This is not a P3P policy! See for more info." ![]() The http stat (hs,httpstat) command will give response times broken up by task.Ĭontent-Type: text/html charset=ISO-8859-1 ![]() Ron:build ron:cover ron:lint ron:run ron:testv Ron:_vendor_update ron:build_all ron:install ron:prep ron:test ron:vet envs -yaml ron:_vendor_update ron:cover ron:prep ron:testv default -verbose default:burgundy ron:build_all ron:lint ron:test debug -list default:_hello ron:build ron:install ron:run ron:vet The target command to get a list of targets. The bash completion command (b,bash_completion) can be added to bashrc or bash_profile byĪppending the output or manually by copying it's output. Ron can be used as a standalone binary, or imported as a library. Package ron provides a command line interface to common build tasks. commands/commandname/commandname.goįunc (c *Command) Run(args string) (int, error) -ldflags "-X $REPO/vendor/$RONREPO.GitCommit=$PACKAGE_VERSION -X $REPO/vendor/$RONREPO.AppVersion=$TAG -X $REPO/vendor/$RONREPO.AppName=$APP" cmd/ron/*.go The vendoring approach may look something like this:Īdd vendor//upsight/ron to your project with whatever package manager you choose (dep, glide, etc.)Ĭreate a new folder for your custom commands. To extend or customize ron, you can either fork the repo, or vendor it and overwrite the target/default.yaml Or download from releases Upgrade LATEST_URL= ron upgrade Installation $ go get -u /upsight/ron/cmd/. Template Render a Go template using environment variables. $ ronī, bash_completion Print the bash completion script.Ĭmd Run a command with optional restart and watch for changes to restart.
0 Comments
Leave a Reply. |