Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit

Permalink
Renamed the makefile command used to link all the available rules in …
Browse files Browse the repository at this point in the history
…rules/rules-available from "default_rules" to the more explicit "enable_all_rules". This command is now scoped on yml files only ("*.yml" instead of "*") as well
  • Loading branch information
Alvoras committed Mar 20, 2021
1 parent 8990ee0 commit 2c2f650
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ default: help

## certs : Create TLS certs used by the HTTPS dummy server in "var/https/certs"
certs:
mkdir -p var/https/certs
-mkdir -p var/https/certs
openssl req -x509 -subj "/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=localhost" -newkey rsa:4096 -keyout var/https/certs/key.pem -out var/https/certs/cert.pem -days 3650 -nodes

## default_rules : Enable all the rule files present in ./rules/rules-available/
default_rules:
ln -rs ./rules/rules-available/* ./rules/rules-enabled/
## enable_all_rules : Enable all the rule files present in ./rules/rules-available/
enable_all_rules:
ln -rs ./rules/rules-available/*.yml ./rules/rules-enabled/

## docker_build : Build Docker image
docker_build:
Expand Down

0 comments on commit 2c2f650

Please # to comment.