Skip to content

Commit

Permalink
Fix missing brackets; v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
steeelydan committed May 9, 2023
1 parent d4fecca commit 24eba3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 0 additions & 4 deletions dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ PACKAGE_VERSION=$(cat package.json \
| awk -F: '{ print $2 }' \
| sed 's/[" ,]//g')

echo "$PACKAGE_VERSION"

NEW_DIR=dist/steeelydan.eel2-vscode-support-$PACKAGE_VERSION

echo "$NEW_DIR"

mkdir -p ./"$NEW_DIR"
rm -rf ./"$NEW_DIR"/*
cp -r snippets ./"$NEW_DIR"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eel2",
"displayName": "EEL2",
"description": "VSCode support for Cockos' EEL2 language",
"version": "1.1.0",
"version": "1.1.2",
"publisher": "steeelydan",
"author": "steeelydan",
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,27 +366,27 @@
},
"Math: Sign": {
"prefix": "sign",
"body": ["sign(${1:x}"],
"body": ["sign(${1:x})"],
"description": "returns the sign of the parameter (-1, 0, or 1)"
},
"Math: Random": {
"prefix": "rand",
"body": ["rand(${1:x}"],
"body": ["rand(${1:x})"],
"description": "returns a psuedorandom number between 0 and the parameter"
},
"Math: Floor": {
"prefix": "floor",
"body": ["floor(${1:x}"],
"body": ["floor(${1:x})"],
"description": "rounds the value to the lowest integer possible (floor(3.9)==3, floor(-3.1)==-4)"
},
"Math: Ceiling": {
"prefix": "ceil",
"body": ["ceil(${1:x}"],
"body": ["ceil(${1:x})"],
"description": "rounds the value to the highest integer possible (ceil(3.1)==4, ceil(-3.9)==-3)"
},
"Math: Fast Inverse Square Root": {
"prefix": "invsqrt",
"body": ["invsqrt(${1:x}"],
"body": ["invsqrt(${1:x})"],
"description": "returns a fast inverse square root (1/sqrt(x)) approximation of the parameter"
}
}

0 comments on commit 24eba3b

Please sign in to comment.