Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Integrate simple project into CLI #146

Merged
merged 6 commits into from
Oct 3, 2018
Merged

Conversation

spalladino
Copy link
Contributor

@spalladino spalladino commented Sep 30, 2018

Adds a --light flag to the init command to create a lightweight app using a SimpleProject. Dependency management is to be implemented later.

To reviewers: I strongly suggest to review this PR with whitespace diff hidden, and preferrably by-commit.

Depends on #161
Fixes #74

@spalladino spalladino added the status:in-progress Under development, do not merge this PR label Sep 30, 2018
@facuspagnuolo facuspagnuolo self-assigned this Sep 30, 2018
@spalladino spalladino removed the status:in-progress Under development, do not merge this PR label Oct 2, 2018
@facuspagnuolo
Copy link
Contributor

Small comment before reviewing, I'd love to have the CLI working by default and add a publish command that publishes an App and Package to register your application status on-chain. Let me know if you would like to tackle that in this issue or create another.

@spalladino
Copy link
Contributor Author

As discussed offline, let's tackle that as a separate issue

Copy link
Contributor

@facuspagnuolo facuspagnuolo left a comment

Choose a reason for hiding this comment

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

LGTM, nice job @spalladino!

@@ -179,9 +163,11 @@ export default class NetworkAppController extends NetworkBaseController {
return [];
}

const ownedProxies = proxies.filter(proxy => !proxy.admin || proxy.admin === this.appAddress);
// TODO: If 'from' is not explicitly set, then we need to retrieve it from the set of current accounts
Copy link
Contributor

Choose a reason for hiding this comment

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

or fail... can we add an issue to track this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this.networkFile.app = { address }
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

can we split this into multiple files?

@spalladino spalladino merged commit adf07fe into master Oct 3, 2018
@spalladino spalladino deleted the feature/lightweight-cli-#74 branch October 3, 2018 21:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants