LoginSignup
1
2

More than 5 years have passed since last update.

Cordova の platforms / plugins ディレクトリーは .gitgnore に入れて良い

Posted at

Apache Cordova で、cordova platform add <platform_name> すると生成され、cordova buildcordova run などの実行時に時々書き換わる platforms ディレクトリーと plugins ディレクトリー。
.gitignore に入れて良いのかどうか迷っていたのですが、入れて良いようです。

これらのディレクトリーは、別の環境では

$ cordova prepare

で config.xml が解釈され、再度生成されます。

※どうも世に出回っている .gitignore だと、platforms/android/ 以下の一部のディレクトリーのみリポジトリーに含めないようにしているものもあるので、少々自信がないところでありますが…

1
2
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2