-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "state save" and "state load" commands (#610)
* A first implementation of lockfile generation * Add help for the lock command * cleanup * Feedback - fix crash for libraries with no non-dev version - output --lib instead of -L for compatibility and clarity - move the command to the Misc category * Allow people to work with dev versions without breaking haxelib lock output * [mercurial] add support for cloning revisions, add impl for lock command * [tests] restore mercurial tests * [tests] update tests to work with mercurial too * Rebuild run.n * Server is still build with haxe 3.4.7, can't use final there... * Wording * Move lock command above deprecated commands * Fix lock file generation * Rename 'lock' command to 'pin generate' Also write directly to file instead of stdout, and added 'pin apply' command as alias to 'install --always --skip-dependencies' * Move pin commands above deprecated commands * Pretend we're professionals by using corporate terminology * Rebuild run.n * Ok last rename, I swear * Rebuild run.n * Rebuild run.n --------- Co-authored-by: k <k@klabz.org>
- Loading branch information
Showing
12 changed files
with
158 additions
and
25 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
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
package tests; | ||
|
||
import sys.FileSystem; | ||
import haxelib.api.Vcs; | ||
import haxelib.VersionData.VcsID; | ||
|
||
class TestHg extends TestVcs { | ||
static final REPO_PATH = 'test/repo/hg'; | ||
|
||
static public function init() { | ||
HaxelibTests.deleteDirectory(REPO_PATH); | ||
HaxelibTests.runCommand('hg', ['clone', 'https://bitbucket.org/fzzr/hx.signal', REPO_PATH]); | ||
HaxelibTests.runCommand('hg', ['clone', 'http://hg.code.sf.net/p/hx-signal/mercurial', REPO_PATH]); | ||
} | ||
|
||
public function new():Void { | ||
super(VcsID.Hg, "Mercurial", FileSystem.fullPath(REPO_PATH), "78edb4b"); | ||
super(VcsID.Hg, "Mercurial", FileSystem.fullPath(REPO_PATH), "default", "b022617bccfb"); | ||
} | ||
} |
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