-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #837 from The-Frozen-North/clean-gitignore-move-bu…
…ild-to-build-folder Clean gitignore move build to build folder
- Loading branch information
Showing
10 changed files
with
133 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,26 @@ | ||
# Ignore everything | ||
* | ||
# Ignore build folder | ||
.build/ | ||
.build/* | ||
|
||
!.gitignore | ||
!.gitattributes | ||
!database/.keep | ||
.nasher/ | ||
.nasher/* | ||
|
||
# Whitelist devserver files | ||
!docker-compose-dev.yml | ||
!docker-compose-dev-seed.yml | ||
!config/common.env | ||
!config/nwserver_dev.env | ||
!config/nwserver_dev_seed.env | ||
!settings.tml | ||
!tools/ | ||
!tools/** | ||
!templates/ | ||
!templates/** | ||
!grafana-provisioning/ | ||
!grafana-provisioning/** | ||
!config/common-dev.env | ||
# Don't add real passwords to git | ||
config/influxdb.env | ||
config/grafana.env | ||
grafana-provisioning/datasources/nwn.yml | ||
# Only the file templates | ||
!config/influxdb-template.env | ||
!config/grafana-template.env | ||
!grafana-provisioning/datasources/nwn.yml.template | ||
|
||
!mod_desc.txt | ||
|
||
# Whitelist github and spec folder | ||
!.github | ||
!.github/** | ||
!spec | ||
!spec/** | ||
!spec_output/src/nss/.keep | ||
|
||
# Gemfiles | ||
!Gemfile | ||
!Gemfile.lock | ||
|
||
# Whitelist dummy movie file | ||
!movies/prelude.wbm | ||
|
||
# This file should be ignored always | ||
settings.tml | ||
server/settings.tml | ||
|
||
# Whitelist the override folder but make sure these 2das never get committed | ||
!override/ | ||
!override/** | ||
override/env.2da | ||
override/env_dm.2da | ||
|
||
# Whitelist nwn base scripts folder | ||
!nwn-base-scripts/ | ||
!nwn-base-scripts/** | ||
|
||
# Keep this folder so install doesn't break | ||
!install/.keep | ||
|
||
# Whitelist sources and nasher files | ||
!nasher.cfg | ||
!src/ | ||
!src/** | ||
!presets/ | ||
!presets/** | ||
|
||
# Only keep server template file | ||
!server/docker-compose-template.yml | ||
!server/docker-compose-with-analytics-template.yml | ||
|
||
# Whitelist batch and readme files | ||
!*.bat | ||
!*.sh | ||
!*.md | ||
# Whitelist only server template files | ||
server/* | ||
!docker-compose-template.yml | ||
!docker-compose-with-analytics-template.yml | ||
|
||
# Never commit these file types | ||
*.mod | ||
*.ncs | ||
*.csv | ||
|
||
# Whitelist database files | ||
!seeded_database | ||
!seeded_database/** | ||
|
||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"%CD%/tools/win/nasher/nasher.exe" unpack --file:modules/TFN --removeDeleted --erfUtil:"%CD%/tools/win/neverwinter64/nwn_erf.exe" --gffUtil:"%CD%/tools/win/neverwinter64/nwn_gff.exe" --tlkUtil:"%CD%/tools/win/neverwinter64/nwn_tlk.exe" --nssFlags:"-l" | ||
"%CD%/tools/win/nasher/nasher.exe" unpack --file:.build/modules/TFN --removeDeleted --erfUtil:"%CD%/tools/win/neverwinter64/nwn_erf.exe" --gffUtil:"%CD%/tools/win/neverwinter64/nwn_gff.exe" --tlkUtil:"%CD%/tools/win/neverwinter64/nwn_tlk.exe" --nssFlags:"-l" | ||
git rm --cached src -r | ||
git add . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
del /f database\spawns.sqlite3 | ||
del /f database\treasures.sqlite3 | ||
del /f database\randspellbooks.sqlite3 | ||
del /f database\prettify.sqlite3 | ||
del /f database\tmapsolutions.sqlite3 | ||
del /f database\areadistances.sqlite3 | ||
del /f .build\database\spawns.sqlite3 | ||
del /f .build\database\treasures.sqlite3 | ||
del /f .build\database\randspellbooks.sqlite3 | ||
del /f .build\database\prettify.sqlite3 | ||
del /f .build\database\tmapsolutions.sqlite3 | ||
del /f .build\database\areadistances.sqlite3 | ||
|
||
copy seeded_database\tmapsolutions.sqlite3 database\tmapsolutions.sqlite3 | ||
copy seeded_database\areadistances.sqlite3 database\areadistances.sqlite3 | ||
copy seeded_database\spawns.sqlite3 database\spawns.sqlite3 | ||
copy seeded_database\treasures.sqlite3 database\treasures.sqlite3 | ||
copy seeded_database\randspellbooks.sqlite3 database\randspellbooks.sqlite3 | ||
copy seeded_database\prettify.sqlite3 database\prettify.sqlite3 | ||
md .build\database | ||
md .build\config | ||
|
||
copy seeded_database\tmapsolutions.sqlite3 .build\database\tmapsolutions.sqlite3 | ||
copy seeded_database\areadistances.sqlite3 .build\database\areadistances.sqlite3 | ||
copy seeded_database\spawns.sqlite3 .build\database\spawns.sqlite3 | ||
copy seeded_database\treasures.sqlite3 .build\database\treasures.sqlite3 | ||
copy seeded_database\randspellbooks.sqlite3 .build\database\randspellbooks.sqlite3 | ||
copy seeded_database\prettify.sqlite3 .build\database\prettify.sqlite3 | ||
|
||
del /f .build\docker-compose-dev.yml | ||
copy docker-compose-dev.yml .build\docker-compose-dev.yml | ||
|
||
del /f .build\config\common.env | ||
copy config\common.env .build\config\common.env | ||
|
||
cd .build | ||
|
||
docker-compose -f docker-compose-dev.yml down | ||
docker-compose -f docker-compose-dev.yml up --no-recreate -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
del /f database\prettify.sqlite3 | ||
del /f database\tmapsolutions.sqlite3 | ||
del /f database\areadistances.sqlite3 | ||
del /f .build\database\prettify.sqlite3 | ||
del /f .build\database\tmapsolutions.sqlite3 | ||
del /f .build\database\areadistances.sqlite3 | ||
|
||
copy seeded_database\randspellbooks.sqlite3 database\randspellbooks.sqlite3 | ||
copy seeded_database\prettify.sqlite3 database\prettify.sqlite3 | ||
copy seeded_database\areadistances.sqlite3 database\areadistances.sqlite3 | ||
copy seeded_database\tmapsolutions.sqlite3 database\tmapsolutions.sqlite3 | ||
md .build\database | ||
md .build\config | ||
|
||
copy seeded_database\randspellbooks.sqlite3 .build\database\randspellbooks.sqlite3 | ||
copy seeded_database\prettify.sqlite3 .build\database\prettify.sqlite3 | ||
copy seeded_database\areadistances.sqlite3 .build\database\areadistances.sqlite3 | ||
copy seeded_database\tmapsolutions.sqlite3 .build\database\tmapsolutions.sqlite3 | ||
|
||
del /f .build\docker-compose-dev-seed.yml | ||
copy docker-compose-dev-seed.yml .build\docker-compose-dev-seed.yml | ||
|
||
del /f .build\config\common.env | ||
copy config\common.env .build\config\common.env | ||
|
||
cd .build | ||
|
||
docker-compose -f docker-compose-dev-seed.yml down | ||
docker-compose -f docker-compose-dev-seed.yml up --no-recreate | ||
|
||
del /f seeded_database\spawns.sqlite3 | ||
del /f seeded_database\treasures.sqlite3 | ||
del /f seeded_database\randspellbooks.sqlite3 | ||
del /f seeded_database\prettify.sqlite3 | ||
del /f seeded_database\tmapsolutions.sqlite3 | ||
del /f seeded_database\areadistances.sqlite3 | ||
|
||
copy database\tmapsolutions.sqlite3 seeded_database\tmapsolutions.sqlite3 | ||
copy database\spawns.sqlite3 seeded_database\spawns.sqlite3 | ||
copy database\treasures.sqlite3 seeded_database\treasures.sqlite3 | ||
copy database\randspellbooks.sqlite3 seeded_database\randspellbooks.sqlite3 | ||
copy database\prettify.sqlite3 seeded_database\prettify.sqlite3 | ||
copy database\areadistances.sqlite3 seeded_database\areadistances.sqlite3 | ||
del /f ..\seeded_database\spawns.sqlite3 | ||
del /f ..\seeded_database\treasures.sqlite3 | ||
del /f ..\seeded_database\randspellbooks.sqlite3 | ||
del /f ..\seeded_database\prettify.sqlite3 | ||
del /f ..\seeded_database\tmapsolutions.sqlite3 | ||
del /f ..\seeded_database\areadistances.sqlite3 | ||
|
||
copy database\tmapsolutions.sqlite3 ..\seeded_database\tmapsolutions.sqlite3 | ||
copy database\spawns.sqlite3 ..\seeded_database\spawns.sqlite3 | ||
copy database\treasures.sqlite3 ..\seeded_database\treasures.sqlite3 | ||
copy database\randspellbooks.sqlite3 ..\seeded_database\randspellbooks.sqlite3 | ||
copy database\prettify.sqlite3 ..\seeded_database\prettify.sqlite3 | ||
copy database\areadistances.sqlite3 ..\seeded_database\areadistances.sqlite3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters