Skip to content

Commit

Permalink
little updates
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Dec 12, 2023
1 parent c008e56 commit d11cdd8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [ push ]
on: [ push, pull_request ]

env:
CI: true
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "haraka-plugin-template",
"version": "1.0.3",
"description": "Haraka plugin that frobnicates email connections",
"version": "1.0.4",
"description": "Haraka plugin that...CHANGE THIS",
"main": "index.js",
"scripts": {
"lint": "npx eslint *.js test/*.js",
"lintfix": "npx eslint --fix *.js test/*.js",
"lint": "npx eslint *.js test",
"lintfix": "npx eslint --fix *.js test",
"versions": "npx dependency-version-checker check",
"test": "npx mocha"
},
Expand Down
9 changes: 7 additions & 2 deletions redress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@ if [ -z "$1" ]; then
exit
fi

sed -i '' -e "s/template/${1}/g" README.md
sed -i '' \
-e "s/template/${1}/g" \
README.md

sed -i '' \
-e "s/template/${1}/g" \
-e "s/template\.ini/$1.ini/" \
test/index.js

sed -i '' -e "s/template/${1}/g" package.json
sed -i '' \
-e "s/template/${1}/g" \
package.json

sed -i '' \
-e "s/_template/_${1}/g" \
-e "s/template\.ini/$1.ini/" \
Expand Down

0 comments on commit d11cdd8

Please sign in to comment.