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

Commit 8042f75

Browse files
committed
FINALLY
1 parent b9b3946 commit 8042f75

12 files changed

Lines changed: 2378 additions & 22 deletions

File tree

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["plugin:userscripts/recommended"]
3+
}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dist
22
userscript/node_modules
3-
userscript/build
3+
userscript/build
4+
node_modules

build.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
mkdir dist
22
cd userscript/
33
yarn install
4-
yarn run build
4+
yarn run build
5+
# check if INSTALL=1
6+
if [ "$INSTALL" = "1" ]; then
7+
# open new firefox tab with realpath of dist/SYNTAX+.user.js
8+
cd ../dist
9+
firefox -new-tab "file://$(realpath SYNTAX+.user.js)"
10+
echo "Installed SYNTAX+"
11+
fi

0 commit comments

Comments
 (0)