forked from tmrts/boilr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94e7456
commit ead2815
Showing
9 changed files
with
202 additions
and
42 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 |
---|---|---|
|
@@ -29,3 +29,6 @@ vendor | |
|
||
# don't accidentally commit a build of main | ||
boilr | ||
boilr-mac | ||
*.tgz | ||
boilr.rb |
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
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,12 @@ | ||
class Boilr < Formula | ||
desc "Boilerplate template manager that generates files or directories from template repositories" | ||
homepage "https://github.com/solaegis/boilr" | ||
url "https://github.com/solaegis/boilr/releases/download/v${VERIONS}/boilr-${VERSION}-darwin_amd64.tgz" | ||
version "1.1.1" | ||
sha256 "$(sha256sum boilr-mac | cut -d' ' -f1)" | ||
|
||
def install | ||
bin.install "boilr" | ||
end | ||
end | ||
|
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
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
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
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
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
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 templateinput | ||
|
||
func init() { | ||
UserInput.Init() | ||
UsedKeys.Init() | ||
} | ||
|
||
type set map[string]interface{} | ||
|
||
var UserInput set | ||
|
||
func (s *set) Init() { | ||
*s = make(map[string]interface{}) | ||
} | ||
|
||
// store keys used during boilr execution | ||
type s map[string]interface{} | ||
|
||
var UsedKeys s | ||
|
||
func (s *s) Init() { | ||
*s = make(map[string]interface{}) | ||
} |