Skip to content

Commit b0d7a3d

Browse files
committed
Update helper scripts
1 parent 04d2482 commit b0d7a3d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@ const exec = (str, opts) => {
1313

1414
const task = process.argv[2]
1515

16-
if (task == null || task === '') return console.log('Nothing to do!')
16+
if (task == null || task === '') {
17+
console.log('Nothing to do, valid commands are:\n')
18+
console.log('1. `node scripts.js version 0.0.1` (to update version)')
19+
console.log('2. `node scripts.js install` (cloning this project for the first time)')
20+
console.log('3. `node scripts.js gh-pages` (build webapp for github pages)')
1721

22+
return
23+
}
1824
/**
1925
* Update all packages on this project to a new version.
2026
*

0 commit comments

Comments
 (0)