@@ -272,10 +272,12 @@ mixins installed.
272
272
273
273
Here are the most common Makefile tasks
274
274
275
+ * ` build ` builds all binaries, porter and internal mixins.
275
276
* ` build-porter-client ` just builds the porter client for your operating
276
277
system. It does not build the porter-runtime binary. Useful when you just want
277
278
to do a build and don't remember the proper way to call ` go build ` yourself.
278
- * ` build-porter ` builds both the porter client and runtime.
279
+ * ` build-porter ` builds both the porter client and runtime. It does not clean
280
+ up generated files created by packr, so you usually want to also run ` clean-packr ` .
279
281
* ` install-porter ` installs just porter from your bin into ** /usr/local/bin** .
280
282
* ` install-mixins ` installs just the mixins from your bin into
281
283
** /usr/local/bin** . This is useful when you are working on the exec or
@@ -292,7 +294,13 @@ Here are the most common Makefile tasks
292
294
* ` test ` runs all the tests.
293
295
* ` clean-packr ` removes extra packr files that were a side-effect of the build.
294
296
Normally this is run automatically but if you run into issues with packr and
295
- dep, run this commmand.
297
+ dep, run this command.
298
+ * ` dep-ensure ` runs dep ensure for you while taking care of packr properly. Use
299
+ this if your PRs are often failing on ` verify-vendor ` because of packr. This
300
+ can be avoided entirely if you use ` make build-porter-client ` or ` make build ` .
301
+ * ` verify-vendor ` cleans up packr generated files and verifies that dep's Gopkg.lock
302
+ and vendor/ are up-to-date. Use this makefile target instead of running
303
+ dep check manually.
296
304
297
305
## Install mixins
298
306
0 commit comments