Commit b8b12da
committed
makefile: add GUI_ARGS and GUI_SOURCE env vars
These are used to execute a script upon startup and possibly exit
immediately.
Previously "echo report_checks | make open_synth" was used, but the
problem here is that if the command fails, then the error isn't and
shouldn't be propagated to the user as open_synth is a REPL loop
that should not propagate the exit code for a failed command,
the app should continue to run.
Example uses:
make GUI_ARGS=-exit GUI_SOURCE=blah.tcl open_final
make GUI_ARGS=-exit GUI_SOURCE=blah.tcl open_synth
Signed-off-by: Øyvind Harboe <[email protected]>1 parent a40a953 commit b8b12da
File tree
4 files changed
+13
-3
lines changed- docs/user
- flow
- scripts
4 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| |||
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
1059 | | - | |
| 1059 | + | |
1060 | 1060 | | |
1061 | 1061 | | |
1062 | | - | |
| 1062 | + | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments