forked from zed-industries/extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
28 lines (22 loc) · 874 Bytes
/
justfile
File metadata and controls
28 lines (22 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Packages the extensions.
package-extensions:
pnpm package-extensions
# Sorts the extensions.
sort-extensions:
pnpm sort-extensions
# Initializes the submodule at the given path.
init-submodule SUBMODULE_PATH:
git submodule update --init --recursive {{SUBMODULE_PATH}}
# Updates the Git submodules containing extensions.
submodules:
git submodule update --init --recursive
# Cleans all of the Git submodules containing extensions.
clean-submodules:
git submodule deinit --force .
# Resets all of the Git submodules containing extensions.
reset-submodules: clean-submodules
git submodule update --init --recursive
# Update the submodule at the given path to the given commit hash.
update-submodule SUBMODULE_PATH COMMIT_HASH:
git submodule update --init --recursive {{SUBMODULE_PATH}}
git -C {{SUBMODULE_PATH}} checkout {{COMMIT_HASH}}