ソースを参照

Merge pull request #19 from defold/DEF-2477-build-variants

DEF-2477 build variants
Dan Engelbrecht 7 年 前
コミット
56d763fa1a
1 ファイル変更12 行追加4 行削除
  1. 12 4
      docs/en/manuals/bob.md

+ 12 - 4
docs/en/manuals/bob.md

@@ -31,7 +31,8 @@ usage: bob [options] [commands]
                                      extensions)
  -ce,--certificate <arg>             Certificate (Android)
  -d,--debug                          Use debug version of dmengine (when
-                                     bundling)
+                                     bundling). Deprecated, use --variant
+                                     instead
     --defoldsdk <arg>                What version of the defold sdk (sha1)
                                      to use
  -e,--email <arg>                    User email
@@ -50,10 +51,17 @@ usage: bob [options] [commands]
  -pk,--private-key <arg>             Private key (Android)
  -r,--root <arg>                     Build root directory. Default is
                                      current directory
+    --strip-executable               Strip the dmengine of debug symbols
+                                     (when bundling iOS or Android)
  -tc,--texture-compression <arg>     Use texture compression as specified
-                                     in texture profiles (boolean)
+                                     in texture profiles
+ -tp,--texture-profiles <arg>        Use texture profiles (deprecated)
  -u,--auth <arg>                     User auth token
  -v,--verbose                        Verbose output
+    --variant <arg>                  Specify debug, release or headless
+                                     version of dmengine (when bundling)
+    --version                        Prints the version number to the
+                                     output
 ```
 
 Available commands:
@@ -65,10 +73,10 @@ Available commands:
 : Delete all files in the build directory.
 
 `build`
-: Builds all project data. Add the "--archive" option to build a data archive file ("game.darc" in the build directory).
+: Builds all project data. Add the `--archive` option to build a data archive file ("game.darc" in the build directory).
 
 `bundle`
-: Creates a platform specific application bundle. Bundling requires that a built archive is present (`build` with the `--archive` option) and that a target platform is specified (with the `--platform` option). Bob creates the bundle in the output directory unless a different directory is specified with the `--bundle-output` option. The bundle is named according to the project name setting in *game.project*.
+: Creates a platform specific application bundle. Bundling requires that a built archive is present (`build` with the `--archive` option) and that a target platform is specified (with the `--platform` option). Bob creates the bundle in the output directory unless a different directory is specified with the `--bundle-output` option. The bundle is named according to the project name setting in *game.project*. The `--variant` specifies which type of executable to build when bundling and it together with the `--strip-executable` option replaces the `--debug` option. If no `--variant` is specified you will get a release version of the engine (stripped of symbols on Android and iOS). Setting `--variant` to debug and omitting `--strip-executable` yields the same type of executable as `--debug` used to do.
 
 `resolve`
 : Resolve all external library dependencies.