Skip to content

Commit

Permalink
Automatically extract module name from Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rhx committed Apr 24, 2017
1 parent b12bb07 commit f8a6693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#
ver=3.0
Mod=HelloGtk
Mod=`grep name: Package.swift | cut -d'"' -f2`
Module=${Mod}-$ver
mod=`echo "${Mod}" | tr '[:upper:]' '[:lower:]'`+
module="${mod}-${ver}"
Expand Down

0 comments on commit f8a6693

Please sign in to comment.