Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Commit 1f67dee

Browse files
committed
helper scripts
1 parent d82c8ee commit 1f67dee

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

make-chrome.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
#
3+
# This script assumes a linux environment
4+
5+
echo "*** HTTP Switchboard: Creating web store package"
6+
echo "*** HTTP Switchboard: Copying files"
7+
cp -R assets dist/httpswitchboard/
8+
rm dist/httpswitchboard/assets/*.sh
9+
cp -R css dist/httpswitchboard/
10+
cp -R img dist/httpswitchboard/
11+
cp -R js dist/httpswitchboard/
12+
cp -R lib dist/httpswitchboard/
13+
cp -R _locales dist/httpswitchboard/
14+
cp *.html dist/httpswitchboard/
15+
cp *.txt dist/httpswitchboard/
16+
cp *.md dist/httpswitchboard/
17+
cp *.png dist/httpswitchboard/
18+
cp manifest.json dist/httpswitchboard/
19+
echo "*** HTTP Switchboard: Package done."

make-clean.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
#
3+
# This script assumes a linux environment
4+
5+
echo "*** HTTP Switchboard: Cleaning."
6+
rm -R dist/httpswitchboard/*
7+
echo "*** HTTP Switchboard: Cleaned."

0 commit comments

Comments
 (0)