This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
al1-ce
committed
May 3, 2024
1 parent
40ce75d
commit 61c15f6
Showing
13 changed files
with
120 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"fileVersion": 1, | ||
"versions": { | ||
"sily": "2.2.0" | ||
"sily": "3.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# #!/usr/bin/env -S just --justfile | ||
# just reference: https://just.systems/man/en/ | ||
# monolith flavor: ~/.config/nvim/readme/build.md | ||
# | ||
# set positional-arguments | ||
|
||
test file: | ||
#!/bin/bash | ||
if [[ -f "test/{{file}}.d" ]]; then | ||
dub run --single "test/{{file}}.d" | ||
else | ||
echo "Missing test/{{file}}.d" | ||
fi | ||
|
||
# Cheatsheet: | ||
# Set a variable (variable case is arbitrary) | ||
# SINGLE := "--single" | ||
# | ||
# Export variable | ||
# export MYHOME := "/new/home" | ||
# | ||
# Join paths: | ||
# PATHS := "path/to" / "file" + ".txt" | ||
# | ||
# Conditions | ||
# foo := if "2" == "2" { "Good!" } else { "1984" } | ||
# | ||
# String literals | ||
# escaped_string := "\"\\" # will eval to "\ | ||
# raw_string := '\"\\' # will eval to \"\\ | ||
# exec_string := `ls` # will be set to result of inner command | ||
# | ||
# Hide configuration from just --list, prepend _ or add [private] | ||
# [private] | ||
# _test: build_d | ||
# | ||
# Alias to a recipe (just noecho) | ||
# alias noecho := _echo | ||
# | ||
# Silence commands or recipes by prepending @ (i.e hide "dub build"): | ||
# @build_d_custom: | ||
# @dub build | ||
# | ||
# Continue even on fail by adding "-" | ||
# test: | ||
# -cat notexists.txt | ||
# echo "Still executes" | ||
# | ||
# Configuration using variable from above (and positional argument $1) | ||
# buildFile FILENAME: | ||
# dub build {{SINGLE}} $1 | ||
# | ||
# Set env ([linux] makes recipe be usable only in linux) | ||
# [linux] | ||
# @test_d: | ||
# #!/bin/bash | ||
# | ||
# A command's arguments can be passed to dependency (also default arguments) | ||
# push target="debug": (build target) | ||
# | ||
# Use + (1 ore more) or * (0 or more) to make argument variadic. Must be last | ||
# ntest +FILES="justfile1 justfile2": | ||
# | ||
# Run set configurations (recipe requirements) | ||
# all: build_d build_d_custom _echo | ||
# | ||
# This example will run in order "a", "b", "c", "d" | ||
# b: a && c d | ||
# | ||
# Each recipe line is executed by a new shell (use shebang to prevent) | ||
# foo: | ||
# pwd # This `pwd` will print the same directory… | ||
# cd bar | ||
# pwd # …as this `pwd`! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.