Skip to content

Commit

Permalink
fix: use dapp-offer-up by default (#8630)
Browse files Browse the repository at this point in the history
* use dapp-game-pieces (in agoric-labs) by default

* feat: use dapp-offer-up in @agoric/dapp

* fix(integration-test): update initOptions with '--dapp-template' parameter

* fix(integration-test): set --dapp-template at registry.sh level

* Revert "fix(integration-test): update initOptions with '--dapp-template' parameter"

This reverts commit 2097951.

* Revert "fix(integration-test): set --dapp-template at registry.sh level"

This reverts commit 8ec4ed3.

* fix(integration-test): add --dapp-template parameter to myMain command

* fixup! fix(integration-test): add --dapp-template parameter to myMain command

---------

Co-authored-by: Luqi Pan <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored and mhofman committed Jan 30, 2024
1 parent ce1036a commit 5f80b5b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/agoric-cli/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import followMain from './follow.js';
import walletMain from './open.js';
import { makeWalletCommand } from './commands/wallet.js';

const DEFAULT_DAPP_TEMPLATE = 'dapp-fungible-faucet';
const DEFAULT_DAPP_TEMPLATE = 'dapp-offer-up';
const DEFAULT_DAPP_URL_BASE = 'https://github.com/Agoric/';
const DEFAULT_DAPP_BRANCH = undefined;

Expand Down
8 changes: 7 additions & 1 deletion packages/agoric-cli/tools/getting-started.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,13 @@ export const gettingStartedWorkflowTest = async (t, options = {}) => {
initOptions.push(...opts);
}
t.is(
await myMain(['init', ...initOptions, 'dapp-foo']),
await myMain([
'init',
'--dapp-template',
'dapp-fungible-faucet',
...initOptions,
'dapp-foo',
]),
0,
'init dapp-foo works',
);
Expand Down

0 comments on commit 5f80b5b

Please sign in to comment.