Skip to content

Commit

Permalink
reorder the dist.inis provide makefile to create dists
Browse files Browse the repository at this point in the history
  • Loading branch information
pplu committed Mar 7, 2017
1 parent e17d0ed commit 5be4c24
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@ local/
cpanfile.snapshot
vendor/
t/crontab
dist.ini
9 changes: 9 additions & 0 deletions Makefile
Expand Up @@ -25,3 +25,12 @@ test-single: ## run test over $testfile

tidy: ## run perltidy on $tidyfile
carton exec perl -I local -I lib ./local/bin/perltidy ${tidyfile}

dists: dist-cloudcron dist-worker ## build all packages

dist-cloudcron: ## build cloudcron
cp dist.ini-cloudcron dist.ini
dzil build
dist-worker: ## build worker
cp dist.ini-worker dist.ini
dzil build
File renamed without changes.
22 changes: 6 additions & 16 deletions dist_worker.ini → dist.ini-worker
Expand Up @@ -10,29 +10,19 @@ main_module = lib/CloudCron/Workers/System.pm

[ExecDir]
dir = worker-bin
[GatherDir]
root = worker-lib
prefix = lib

[GatherDir / BinFiles]
root = worker-bin
prefix = bin

[GatherDir / LibFiles]
root = lib/CloudCron
prefix = lib/CloudCron
exclude_match = AWS
exclude_filename = CronLine.pm
exclude_filename = TargetQueue.pm
root = worker-lib
prefix = lib

[GatherDir / WorkerTest]
root = t/Workers
prefix = t


[Git::GatherDir]
exclude_match=Makefile
exclude_match=lib
exclude_match=bin
exclude_match=script
exclude_match=t

[MakeMaker]

[@Git]
Expand Down

0 comments on commit 5be4c24

Please sign in to comment.