-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.justfile
33 lines (26 loc) · 1.49 KB
/
.justfile
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
29
30
31
32
33
################################################################################
# Justfile #
# #
# Set of routines to execute for development work. #
# #
# To make use of this file install: https://crates.io/crates/just #
# #
################################################################################
# 'Just' Configuration
# Loads .env file for variables to be used in
# in this just file
set dotenv-load
default:
just --choose
# Ignore recipes that are commented out
set ignore-comments := true
# Set shell for Windows OSs:
# If you have PowerShell Core installed and want to use it,
# use `pwsh.exe` instead of `powershell.exe`
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
# Set shell for non-Windows OSs:
set shell := ["bash", "-uc"]
update-pace-version:
sd $env:PACE_CURRENT_VERSION $(xh get https://crates.io/api/v1/crates/pace-rs | jq .crate.max_version) src/lib/components/downloads.svelte
sd $env:PACE_CURRENT_VERSION $(xh get https://crates.io/api/v1/crates/pace-rs | jq .crate.max_version) src/routes/+page.svelte
sd $env:PACE_CURRENT_VERSION $(xh get https://crates.io/api/v1/crates/pace-rs | jq .crate.max_version) .env