Skip to content

Commit

Permalink
cleanup -s flag at 19:42 of 2020-07-31
Browse files Browse the repository at this point in the history
  • Loading branch information
nrobinson2000 committed Jul 31, 2020
1 parent a29ad7c commit 2544d95
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bin/neopo
Original file line number Diff line number Diff line change
Expand Up @@ -574,13 +574,12 @@ def build(projectPath, command, helpOnly, verbosity):

# Command used to invoke the Workbench makefile
process = [
"make", "-sf",
os.path.join(PARTICLE_DEPS, "buildscripts", scriptVersion, "Makefile"),
"make", "-f", os.path.join(PARTICLE_DEPS, "buildscripts", scriptVersion, "Makefile"),
"PARTICLE_CLI_PATH=" + particle
]

# Remove [s] flag from make to get verbose output
process[1] = "-f" if verbosity == 1 else "-sf"
# Add [-s] flag to make to silence output
verbosity == 0 and process.append("-s")

if helpOnly:
process.append("help")
Expand Down

0 comments on commit 2544d95

Please sign in to comment.