Skip to content

Commit

Permalink
make examples work on Debian systems
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvismartin committed Feb 19, 2018
1 parent 77c9532 commit 813b2ca
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion scripts/make-example
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ cat << EOF > $MODULE/package.json
"scripts": {
"build": "yarn clean && webpack",
"clean": "rm -rf bundle.*",
"dev": "open index.html && webpack -w"
"dev": "open index.html && webpack -w",
"debdev": "see index.html && webpack -w"
},
"devDependencies": {
"ts-loader": "^3.3.1",
Expand Down Expand Up @@ -101,8 +102,18 @@ cat << EOF > $MODULE/README.md
git clone https://github.com/thi-ng/umbrella.git
cd umbrella/examples/$1
yarn install
\`\`\`
Then
\`\`\`
\# For Mac
yarn dev
\`\`\`
\`\`\`
\# For Debian, Ubuntu, Etc.
yarn debdev
\`\`\`
Once webpack has completed building, refresh your browser...
EOF

0 comments on commit 813b2ca

Please sign in to comment.