Skip to content

Commit

Permalink
Remove version_from_shard dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopl committed May 8, 2023
1 parent e5d3801 commit 81a3f8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ targets:
gi-crystal:
main: src/generator/main.cr

dependencies:
version_from_shard:
github: hugopl/version_from_shard
version: ~> 1.2

libraries:
libgirepository: ~> 1.70

Expand Down
3 changes: 1 addition & 2 deletions src/generator/main.cr
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
require "colorize"
require "log"
require "option_parser"
require "version_from_shard"

require "./binding_config"
require "./error"
require "./module_gen"

VersionFromShard.declare
VERSION = {{ `shards version #{__DIR__}`.strip.stringify }}

private def project_dir
exe_path = Process.executable_path
Expand Down

0 comments on commit 81a3f8a

Please sign in to comment.