Skip to content

Commit

Permalink
v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Dec 21, 2023
1 parent 95d4344 commit 5749abc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

# 0.2

* Initial versioned release
* Comes with VSCode integration and 99% compatibibility

6 changes: 3 additions & 3 deletions nph.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.1"
version = "0.2"
author = "Jacek Sieka"
description = "Nim code formatter"
license = "MIT"
Expand Down Expand Up @@ -74,10 +74,10 @@ proc commitProject(

try:
exec "git checkout -b nph"
exec "git commit -am \"Formatted with $(nph --version)\""
exec "git commit -am \"Formatted with nph $(nph --version)\""
except:
exec "git checkout nph"
exec "git commit -am \"Formatted with $(nph --version)\" --amend"
exec "git commit -am \"Formatted with nph $(nph --version)\" --amend"

cd "../.."

Expand Down
2 changes: 1 addition & 1 deletion src/nph.nim
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static:
"nph needs to be compiled with nim 2.0.0 exactly for now"

const
Version = gorge("git describe --long --dirty --always")
Version = gorge("git describe --long --dirty --always --tags")
Usage =
"nph - Nim formatter " & Version &
"""
Expand Down

0 comments on commit 5749abc

Please sign in to comment.