mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
ADD Dos2Unix File Conversions
This commit is contained in:
parent
25d5174654
commit
f217190825
2 changed files with 16 additions and 0 deletions
|
@ -76,6 +76,21 @@ sudo $TRAVIS_BUILD_DIR/.dev-tools/generate-robots.sh
|
|||
sudo $TRAVIS_BUILD_DIR/.dev-tools/generate-google-disavow.sh
|
||||
php ./.dev-tools/generate-google-exclude.php
|
||||
|
||||
# ************************************
|
||||
# Convert All Our Files to Unix Format
|
||||
# ************************************
|
||||
|
||||
sudo dos2unix $TRAVIS_BUILD_DIR/bots.d/*.conf
|
||||
sudo dos2unix $TRAVIS_BUILD_DIR/conf.d/*.conf
|
||||
sudo dos2unix $TRAVIS_BUILD_DIR/_sample_config_files/Engintron_for_CPanel_WHM_Configuration_Example/etc/nginx/bots.d/*.conf
|
||||
sudo dos2unix $TRAVIS_BUILD_DIR/_sample_config_files/Engintron_for_CPanel_WHM_Configuration_Example/etc/nginx/bots.d/*.conf
|
||||
sudo dos2unix $TRAVIS_BUILD_DIR/_generator_lists/*.list
|
||||
sudo dos2unix $TRAVIS_BUILD_DIR/.dev-tools/referrers-regex-format.txt
|
||||
|
||||
# *************************************************
|
||||
# Move On to the Rest of Our TravisCI Build Testing
|
||||
# *************************************************
|
||||
|
||||
|
||||
# MIT License
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ install:
|
|||
- sudo add-apt-repository -y ppa:nginx/stable
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y --assume-yes nginx-extras
|
||||
- sudo apt-get -y install dos2unix
|
||||
|
||||
script:
|
||||
- bash .dev-tools/generate-files.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue