Skip to content

Commit d70c986

Browse files
committed
add meteor demo cmd
1 parent 88866f1 commit d70c986

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/embark

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ program.command('demo').description('create a working dapp with a SimpleStorage
142142
console.log('\n\ninit complete');
143143
});
144144

145+
program.command('meteor_demo').description('create a working meteor dapp with a SimpleStorage contract').action(function() {
146+
var boilerPath = path.join(__dirname + '/../demo_meteor');
147+
148+
var targetDir = "./embark_demo";
149+
wrench.copyDirSyncRecursive(boilerPath, targetDir);
150+
console.log('\n\ninit complete');
151+
});
152+
145153
program.parse(process.argv)
146154

147155
if (!process.argv.slice(2).length) {

0 commit comments

Comments
 (0)