You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* moving
* test
* fix?
* whoops
* limitThreads all the things
* addressed reviews, still need to ttest
* removed two more formatting changes
* forgot to rename argument to jobs
* signalQSem
* should use bracket_, removed the styling changes again
* couple of extra spacing causing noise in the diff
* and one more
(Opts.progDesc "Install/update the named package and add it to 'depends' if not already listed. If no package is specified, install/update all dependencies."))
550
562
, Opts.command "build"
551
563
(Opts.info (exec ["purs", "compile"]
552
564
<$> onlyDeps "Compile only the package's dependencies"
553
565
<*> passthroughArgs "purs compile"
566
+
<*> optional limitJobs
554
567
Opts.<**>Opts.helper)
555
568
(Opts.progDesc "Install dependencies and compile the current package"))
556
569
, Opts.command "repl"
557
570
(Opts.info (exec ["purs", "repl"]
558
571
<$> onlyDeps "Load only the package's dependencies"
559
572
<*> passthroughArgs "purs repl"
573
+
<*> optional limitJobs
560
574
Opts.<**>Opts.helper)
561
575
(Opts.progDesc "Open an interactive environment for PureScript"))
(Opts.progDesc "Verify that the named package builds correctly. If no package is specified, verify that all packages in the package set build correctly."))
580
595
, Opts.command "format"
@@ -586,6 +601,10 @@ main = do
586
601
Opts.metavar "PACKAGE"
587
602
<>Opts.help "The name of the package to install"
588
603
604
+
limitJobs =Opts.option Opts.auto $
605
+
Opts.long "jobs"
606
+
<>Opts.help "Limit the number of jobs that can run concurrently"
607
+
589
608
source =Opts.strOption $
590
609
Opts.long "source"
591
610
<>Opts.help "The Git repository for the package set"
0 commit comments