Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dthung1602 committed May 9, 2022
1 parent 75e678b commit e47963a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.idea/
build/
output/
manifest.json
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
build:
./build.sh
bash build.sh
v2:
rm manifest.json \
ln -s manifest-v2.json manifest.json
rm manifest.json && ln -s manifest-v2.json manifest.json
v3:
rm manifest.json \
ln -s manifest-v3.json manifest.json
rm manifest.json && ln -s manifest-v3.json manifest.json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ To be updated
- Note that Chrome can also load manifest v2, but this will be deprecated in June 2023
4. Package for distribution:
- Run `build.sh` (or `make build`)
- The output zip files are in the `build` directory
- The output zip files are in the `output` directory
<!-- CONTRIBUTING -->
## Contributing

Expand Down
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ set -e

echo "--> Start"
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
BUILD_DIR="$SCRIPT_DIR/build"
RAW_CONTENT="${BUILD_DIR}/raw"
OUTPUT_DIR="$SCRIPT_DIR/output"
RAW_CONTENT="${OUTPUT_DIR}/raw"

echo "--> Preparing"
if [ -d "$BUILD_DIR" ]; then
rm -rf "$BUILD_DIR"
if [ -d "$OUTPUT_DIR" ]; then
rm -rf "$OUTPUT_DIR"
fi
mkdir -p "$RAW_CONTENT"

Expand Down

0 comments on commit e47963a

Please sign in to comment.