Skip to content

Conversation

@ilgooz
Copy link
Member

@ilgooz ilgooz commented Mar 2, 2021

for embedding scaffolding templates into Starport's binary.

solves a part of #756.

@ilgooz ilgooz requested review from fadeev and lumtis as code owners March 2, 2021 14:48
@ilgooz ilgooz marked this pull request as draft March 2, 2021 14:48
@ilgooz ilgooz force-pushed the refactor/genny branch 7 times, most recently from 5d733a1 to 47b0c99 Compare March 2, 2021 18:05
for embedding scaffolding templates into Starport's binary.
@ilgooz ilgooz marked this pull request as ready for review March 2, 2021 18:19
lumtis
lumtis previously approved these changes Mar 3, 2021
@fadeev
Copy link
Contributor

fadeev commented Mar 3, 2021

After I build starport with make, delete starport dir (to check that it's not getting static files from the source) and try to scaffold, I get an error:

fadeev@system tendermint % starport app github.com/hello/world

go: cannot use path@version syntax in GOPATH mode
: exit status 1

@ilgooz
Copy link
Member Author

ilgooz commented Mar 3, 2021

@fadeev what directory you're deleting exactly?

@fadeev
Copy link
Contributor

fadeev commented Mar 3, 2021

I deleted directory with the source code of Starport.

Copy link
Contributor

@fadeev fadeev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works both locally and on Gitpod! 👍

Copy link
Contributor

@faddat faddat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:).

When I looked into this I had the same thought when using Genny-- hey this is made for boxes!

Nice xgenny 👍

@ilgooz ilgooz merged commit 1f2f47c into develop Mar 3, 2021
@ilgooz ilgooz deleted the refactor/genny branch March 3, 2021 13:08
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
* refactor(scaffolding): switch from packr to embed

for embedding scaffolding templates into Starport's binary.

* fix gitpod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants