Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Add Justfile to copy schemas to .schemas/ (#353)
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Hinek <[email protected]>
  • Loading branch information
frankhinek authored Jul 12, 2024
1 parent b37078a commit f7260d8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
dist
js/src/try.ts
*.log
*.log
.schemas/
16 changes: 16 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
set positional-arguments

_help:
@just -l

schemas:
#!/bin/bash
set -euo pipefail

source_dir="hosted/json-schemas"
dest_dir=".schemas"

mkdir -p $dest_dir
rm -rf $dest_dir/*
cp -R $source_dir/* $dest_dir/
echo "Schema files successfully copied to $dest_dir/"

0 comments on commit f7260d8

Please sign in to comment.