2012-06-08 67 views
0

我有一個在Github上託管的開源項目。我想在github repo中包含示例/示例,但也包含一個類似.herokuignore的文件,以確保這些示例不會部署到Heroku。可能?有沒有.herokuignore這樣的事情?

Heroku dev center page表示它使用.gitignore文件,這很好,但我仍然需要這些文件在git中。

而且,看到這個已經在SO,但它不是完全一樣的事情:App on Github and heroku: Ignore file on one but not the other

回答

1

是的 - 有一個.slugignore,其中包含一個.gitignore像語法描述哪些文件你不想編譯到你的Heroku塞

1

有一個.slugignore可用於減少你的段塞大小,以排除測試等有用。他們仍然在你的git repo中,但是減少了slu overall的總體尺寸,以使slu generation的產生更快。

相關問題