-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop the package system #369
Open
gfngfn
wants to merge
314
commits into
dev-0-1-0
Choose a base branch
from
dev-0-1-0-package-system
base: dev-0-1-0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Develop lock files and their handling in the package system
Add `use open`, `use package open` etc.
Refactor config paths
Discard `OptionState`
Allow importing submodules in use statement
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contents
Includes:
use open
,use package open
etc. #372MyUtil
etc. #374dist/
andlocal/
#380external_sources
section #385subtype_type_scheme
UTConstructor
andUTPConstructor
to take module namesupdate_subsignature
forwith type
signatures (including transparent type declarations as syntax sugar)Memos about design (in Japanese):
TODO:
satysfi.yaml
In essence
You can write dependencies
at the top of your document as follows:
or
at the
dependencies:
section ofsatysfi.yaml
in your package:Then you can invoke the following command to make the lock file:
For documents (this will create or update
path/to/your-document.satysfi-lock
):$ satysfi solve path/to/your-document.saty
For packages (this will create or update
dir/of/your-package/package.satysfi-lock
):$ satysfi solve dir/of/your-package/
and then you can typeset documents or checking packages by using the lock file:
For documents:
$ satysfi build path/to/your-document.saty
For packages:
$ satysfi build dir/of/your-package/