-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The tests cover: - If there are no tasks defined - If there are tasks with long names - If the minimum alignment is respected for very short names
- Loading branch information
Showing
5 changed files
with
96 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Package | ||
|
||
version = "0.1.0" | ||
author = "David Anes <kraptor>" | ||
description = "A new awesome nimble package" | ||
license = "MIT" | ||
srcDir = "src" | ||
bin = @["run"] | ||
|
||
|
||
# Dependencies | ||
|
||
requires "nim >= 0.19.0" |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Package | ||
|
||
version = "0.1.0" | ||
author = "David Anes <kraptor>" | ||
description = "A new awesome nimble package" | ||
license = "MIT" | ||
srcDir = "src" | ||
bin = @["run"] | ||
|
||
|
||
# Dependencies | ||
|
||
requires "nim >= 0.19.0" | ||
|
||
|
||
task task1, "Description1": | ||
echo "blah" | ||
|
||
task very_long_task, "This is a task with a long name": | ||
echo "blah" | ||
|
||
task aaa, "A task with a small name": | ||
echo "blah" |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Package | ||
|
||
version = "0.1.0" | ||
author = "David Anes <kraptor>" | ||
description = "A new awesome nimble package" | ||
license = "MIT" | ||
srcDir = "src" | ||
bin = @["run"] | ||
|
||
|
||
# Dependencies | ||
|
||
requires "nim >= 0.19.0" | ||
|
||
|
||
task a, "Description for a": | ||
echo "blah blah" |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Package | ||
|
||
version = "0.1.0" | ||
author = "David Anes <kraptor>" | ||
description = "A new awesome nimble package" | ||
license = "MIT" | ||
srcDir = "src" | ||
bin = @["run"] | ||
|
||
|
||
# Dependencies | ||
|
||
requires "nim >= 0.19.0" | ||
|
||
|
||
task nodesc, "": | ||
echo "A task with no description" |
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