Skip to content

Commit

Permalink
plz init config doesn't need to be run inside a repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterebden committed Apr 9, 2019
1 parent ffb3109 commit 0fbb778
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Version 13.5.2
--------------

* Cached test results have an equivalent property set.
* Fixed pre_build argument not always being honoured on `genrule`.
* `plz init config` now does not need to be run within a repo (as `plz init` does not).


Version 13.5.1
--------------

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13.5.1
13.5.2
1 change: 1 addition & 0 deletions src/parse/rules/misc_rules.build_defs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def genrule(name:str, cmd:str|list|dict, srcs:list|dict=None, out:str=None, outs
output_is_complete = output_is_complete,
building_description = building_description,
hashes = hashes,
pre_build = pre_build,
post_build = post_build,
binary = binary,
sandbox = sandbox,
Expand Down
2 changes: 1 addition & 1 deletion src/please.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ func initBuild(args []string) string {
opts.Query.Completions.Cmd = command
opts.Query.Completions.Args.Fragments = []string{opts.Complete}
command = "completions"
} else if command == "help" || command == "follow" || command == "init" {
} else if command == "help" || command == "follow" || command == "init" || command == "config" {
// These commands don't use a config file, allowing them to be run outside a repo.
if flagsErr != nil { // This error otherwise doesn't get checked until later.
cli.ParseFlagsFromArgsOrDie("Please", &opts, os.Args)
Expand Down

0 comments on commit 0fbb778

Please sign in to comment.