Skip to content

Commit 840e004

Browse files
committed
Merge branch 'textmate' of github.com:jeff-hykin/fornix
2 parents edecf13 + 46a1ae8 commit 840e004

File tree

17 files changed

+726
-512
lines changed

17 files changed

+726
-512
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#
22
# Custom
33
#
4-
\.idea
5-
**/*.dont-sync
6-
**/*.dont-sync.*
4+
*.vsix
75

86

97
#

commands/project/publish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22

33
vsce publish --pat "$1" && echo "published on VSCE"
4-
ovsx publish -p "$2" && echo "published on OVSX"
4+
ovsx publish -p "$2" && echo "published on OVSX"

commands/shell

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /usr/bin/env nix-shell
2-
#! nix-shell -i bash -p bash_5 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/a7ecde854aee5c4c7cd6177f54a99d2c1ff28a31.tar.gz
2+
#! nix-shell -i bash -p bash_5 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/ce6aa13369b667ac2542593170993504932eb836.tar.gz
33

44
# the comments above^ are special
55
# they tell the system to process this using nix-shell
@@ -85,9 +85,9 @@ if [[ -n "$FORNIX_ARGS" ]]
8585
then
8686
# FIXME: I think the single quotes need to be escaped from the arguments (need to iterate over them, escape each one with single quotes)
8787
# run single command
88-
HOME="$FORNIX_HOME" nix-shell --pure --show-trace --run "zsh -c '$FORNIX_ARGS'" "$__temp_var__nix_shell_file"
88+
HOME="$FORNIX_HOME" nix-shell --pure --show-trace --run "zsh -c '$FORNIX_ARGS'" "$__temp_var__nix_shell_file" -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/a7ecde854aee5c4c7cd6177f54a99d2c1ff28a31.tar.gz --keep __FORNIX_NIX_SETTINGS_PATH --keep __FORNIX_NIX_MAIN_CODE_PATH --keep __FORNIX_NIX_PACKAGES_FILE_PATH --keep __FORNIX_NIX_PATH_EXPORT_FILE --keep __FORNIX_NIX_COMMANDS --keep FORNIX_FOLDER
8989
else
90-
HOME="$FORNIX_HOME" nix-shell --pure --show-trace --command "zsh" "$__temp_var__nix_shell_file"
90+
HOME="$FORNIX_HOME" nix-shell --pure --show-trace --command "zsh" "$__temp_var__nix_shell_file" -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/a7ecde854aee5c4c7cd6177f54a99d2c1ff28a31.tar.gz --keep __FORNIX_NIX_SETTINGS_PATH --keep __FORNIX_NIX_MAIN_CODE_PATH --keep __FORNIX_NIX_PACKAGES_FILE_PATH --keep __FORNIX_NIX_PATH_EXPORT_FILE --keep __FORNIX_NIX_COMMANDS --keep FORNIX_FOLDER
9191
fi
9292
if [ "$FORNIX_DEBUG" = "true" ]; then
9393
echo "exited the nix-shell environment"

documentation/SETUP.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- (Don't git clone)
66
- Run this: `repo=https://github.com/jeff-hykin/better-cpp-syntax setup_or_copy=setup branch=master eval "$(curl -fsSL git.io/JE2Zm || wget -qO- git.io/JE2Zm)"`
77
- If you're on Windows, run it inside WSL (Ubuntu 20.04 preferably)
8-
- If you're a responsible human being and therefore don't want run a sketchy internet script, props to you 👍. Take a look at the explaination below and you'll be able to run the commands yourself.
8+
- If you're a responsible human being and therefore don't want run a sketchy internet script, props to you 👍. Take a look at the "What is that `eval` command doing?" section at the bottom and you'll be able to run the commands yourself.
99

1010
### If the above instructions didn't make sense
1111

@@ -20,13 +20,13 @@
2020
- Windows users
2121
- Get [WSL](https://youtu.be/av0UQy6g2FA?t=91) (Windows Subsystem for Linux) or [WSL2](https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10)<br>
2222
- If you're not familiar with WSL, I'd recommend [watching a quick thing on it like this one](https://youtu.be/av0UQy6g2FA?t=91)
23-
- Ubuntu 20.04 for WSL is preferred (same as in that linked video), but Ubuntu 21.04 or similar should work.
24-
- [WSL2](https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10) (released August 2020) is needed if you want to use your GPU.<br>
23+
- Ubuntu 20.04 for WSL is preferred (same as in that linked video), but Ubuntu 22.04 or similar should work.
24+
- [WSL2](https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10) (just released August 2020) is needed if you want to use your GPU.<br>
2525
- Once WSL is installed (and you have a terminal logged into WSL) follow the Mac/Linux instructions.
2626
- (tip: when accessing WSL, you probably want to use the VS Code terminal, or the [open source windows terminal](https://github.com/microsoft/terminal) instead of CMD)
2727

2828
After you've finished working and close the terminal, you can always return to project environment by doing
29-
- `cd wherever-you-put-the-project`
29+
- `cd WHEREVER_YOU_PUT_THE_PROJECT`
3030
- `commands/start`
3131

3232
<!--
@@ -51,7 +51,7 @@ Altertive instructions if GUI is needed (matplotlib, tkinter, qt, etc)
5151

5252
### What is that `eval` command doing?
5353

54-
1. Installing nix [manual install instructions here](https://nixos.org/guides/install-nix.html)
54+
1. Installing nix [manual install instructions here](https://nixos.org/download.html)
5555
2. Installing `git` (using nix) if you don't already have git
5656
3. It clones the repository
5757
4. It `cd`'s inside of the repo

documentation/setup.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- (Don't git clone)
66
- Run this: `repo=https://github.com/jeff-hykin/better-cpp-syntax setup_or_copy=setup branch=master eval "$(curl -fsSL git.io/JE2Zm || wget -qO- git.io/JE2Zm)"`
77
- If you're on Windows, run it inside WSL (Ubuntu 20.04 preferably)
8-
- If you're a responsible human being and therefore don't want run a sketchy internet script, props to you 👍. Take a look at the explaination below and you'll be able to run the commands yourself.
8+
- If you're a responsible human being and therefore don't want run a sketchy internet script, props to you 👍. Take a look at the "What is that `eval` command doing?" section at the bottom and you'll be able to run the commands yourself.
99

1010
### If the above instructions didn't make sense
1111

@@ -20,13 +20,13 @@
2020
- Windows users
2121
- Get [WSL](https://youtu.be/av0UQy6g2FA?t=91) (Windows Subsystem for Linux) or [WSL2](https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10)<br>
2222
- If you're not familiar with WSL, I'd recommend [watching a quick thing on it like this one](https://youtu.be/av0UQy6g2FA?t=91)
23-
- Ubuntu 20.04 for WSL is preferred (same as in that linked video), but Ubuntu 21.04 or similar should work.
24-
- [WSL2](https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10) (released August 2020) is needed if you want to use your GPU.<br>
23+
- Ubuntu 20.04 for WSL is preferred (same as in that linked video), but Ubuntu 22.04 or similar should work.
24+
- [WSL2](https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10) (just released August 2020) is needed if you want to use your GPU.<br>
2525
- Once WSL is installed (and you have a terminal logged into WSL) follow the Mac/Linux instructions.
2626
- (tip: when accessing WSL, you probably want to use the VS Code terminal, or the [open source windows terminal](https://github.com/microsoft/terminal) instead of CMD)
2727

2828
After you've finished working and close the terminal, you can always return to project environment by doing
29-
- `cd wherever-you-put-the-project`
29+
- `cd WHEREVER_YOU_PUT_THE_PROJECT`
3030
- `commands/start`
3131

3232
<!--
@@ -51,7 +51,7 @@ Altertive instructions if GUI is needed (matplotlib, tkinter, qt, etc)
5151

5252
### What is that `eval` command doing?
5353

54-
1. Installing nix [manual install instructions here](https://nixos.org/guides/install-nix.html)
54+
1. Installing nix [manual install instructions here](https://nixos.org/download.html)
5555
2. Installing `git` (using nix) if you don't already have git
5656
3. It clones the repository
5757
4. It `cd`'s inside of the repo

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
"textmate-bailout": "^1.1.0",
6060
"textmate-tester": "1.1.9",
6161
"vsce": "^1.99.0",
62-
"yargs": "^17.1.1"
62+
"yargs": "^17.5.1",
63+
"ovsx": "^0.5.1",
64+
"textmate-tester": "^1.1.2"
6365
}
6466
}

0 commit comments

Comments
 (0)