Created template build script
This commit is contained in:
parent
7752b6eb09
commit
2349031d83
1 changed files with 20 additions and 0 deletions
20
build.sh
Normal file
20
build.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
# Build script for firefox and chrome plugins
|
||||
|
||||
|
||||
function build_firefox {
|
||||
echo "Building Firefox extension..."
|
||||
}
|
||||
|
||||
function build_chrome {
|
||||
echo "Building Chrome extension..."
|
||||
}
|
||||
|
||||
if [ "$1" == "firefox" ]; then
|
||||
build_firefox
|
||||
elif [ "$1" == "chrome" ]; then
|
||||
build_chrome
|
||||
else
|
||||
build_firefox
|
||||
build_chrome
|
||||
fi
|
Reference in a new issue