-
Notifications
You must be signed in to change notification settings - Fork 58
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
1 parent
d569e2b
commit 3c4df2e
Showing
2 changed files
with
15 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
function extract-package | ||
if test (git branch --show-current) != "release" | ||
echo "You are not on the release branch!" | ||
return 1 | ||
end | ||
|
||
set target $argv[1] | ||
pwd | ||
mkdir -p $target | ||
cp README.md $target | ||
cp LICENSE $target | ||
cp typst.toml $target | ||
cp polylux.typ $target | ||
cp logic.typ $target | ||
mkdir -p $target/themes | ||
cp themes/* $target/themes | ||
mkdir -p $target/utils | ||
cp utils/* $target/utils | ||
echo "Done" | ||
if test (git branch --show-current) != release | ||
echo "You are not on the release branch!" | ||
return 1 | ||
end | ||
|
||
set target $argv[1] | ||
pwd | ||
mkdir -p $target | ||
cp README.md $target | ||
cp LICENSE $target | ||
cp typst.toml $target | ||
cp -a src $target | ||
cp -a examples $target | ||
cp -a assets $target | ||
echo Done |
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