mirror of
https://github.com/ziex-dev/ziex.git
synced 2026-07-20 02:29:36 -06:00
fix: proper guide for node template
This commit is contained in:
parent
3fc421a811
commit
f346e357db
@ -240,7 +240,22 @@ async function main() {
|
||||
}
|
||||
|
||||
outro(`Successfully created ${color.cyan(project)}!`);
|
||||
console.log(`\n cd ${project}\n zig build dev\n`);
|
||||
const is_node = template === 'node';
|
||||
if (is_node) {
|
||||
console.log(`
|
||||
cd ${project}
|
||||
npm i
|
||||
npm run dev
|
||||
|
||||
`);
|
||||
}
|
||||
else {
|
||||
console.log(`
|
||||
cd ${project}
|
||||
zig build dev
|
||||
|
||||
`);
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure project name is suported Zig identifier
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user