-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New 'spago init --subpackage foo' option to initialize a sub-project …
…within current workspace (#1279)
- Loading branch information
Showing
13 changed files
with
242 additions
and
63 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Invalid option `--subpackage' | ||
|
||
Usage: index.dev.js init [--migrate] [--monochrome|--no-color] [--offline] [-q|--quiet] [-v|--verbose] ([--subpackage ARG] | [--name ARG]) [--package-set ARG] [--use-solver] | ||
Initialise a new project | ||
|
||
Available options: | ||
--migrate Migrate the spago.yaml file to the latest format | ||
--monochrome,--no-color Force logging without ANSI color escape sequences | ||
--offline Do not attempt to use the network. Warning: this will | ||
fail if you don't have the necessary dependencies | ||
already cached | ||
-q,--quiet Suppress all spago logging | ||
-v,--verbose Enable additional debug logging, e.g. printing `purs` | ||
commands | ||
--subpackage ARG Name of a subpackage to initialize within the current | ||
workspace | ||
--name ARG Optional package name to be used for the new project | ||
--package-set ARG Optional package set version to be used instead of | ||
the latest one | ||
--use-solver Use the solver instead of package sets | ||
-h,--help Show this help text |
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,5 @@ | ||
Initializing a new project... | ||
Found PureScript a.b.c, will use package set x.y.z | ||
Found existing directory "subdir/src", skipping copy of sample sources | ||
Set up a new Spago project. | ||
Try running `spago run -p subdir` |
Oops, something went wrong.