-
Notifications
You must be signed in to change notification settings - Fork 471
Remove dev flag usage #7934
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
Merged
Merged
Remove dev flag usage #7934
Changes from 11 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
edaf316
Remove dev flag usage
nojaf 030567b
Update bash tests
nojaf eb06d0d
Remove nonexisting-dev-files sample
nojaf c25da9a
Correct rescript name
nojaf 51599ac
Update snapshots
nojaf 4187a02
Update count in suffix test
nojaf c048850
Update count in format test
nojaf 99d536f
Update snapshot
nojaf 08318b0
Remove obvious duplicated test
nojaf d01d379
Lock file
nojaf e0cc360
Add changelog
nojaf 7519c29
Update CHANGELOG.md
nojaf 0dcf1b5
Update rewatch/src/cli.rs
nojaf 9b94686
Merge branch 'master' into deprecate-dev-flag
nojaf 6b69ab3
Increase wait for watch test to 20s
cknitt 347e1cb
Merge branch 'master' into deprecate-dev-flag
nojaf 970228d
Hopefully increase the right timeout now...
cknitt 35f4840
Ok it needs both
cknitt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
rewatch/testrepo/packages/nonexisting-dev-files/rescript.json
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,9 @@ | ||
// Generated by ReScript, PLEASE EDIT WITH CARE | ||
|
||
|
||
let dev = true; | ||
|
||
export { | ||
dev, | ||
} | ||
/* No side effect */ |
This file contains hidden or 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
18 changes: 18 additions & 0 deletions
18
rewatch/testrepo/packages/with-dev-deps/test/FileToTest_test.mjs
This file contains hidden or 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,18 @@ | ||
// Generated by ReScript, PLEASE EDIT WITH CARE | ||
|
||
import * as FileToTest from "../src/FileToTest.mjs"; | ||
import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; | ||
|
||
let res = FileToTest.add(1, 2); | ||
|
||
if (res !== 3) { | ||
Pervasives.failwith("Expected " + (3).toString() + ", got " + res.toString()); | ||
} | ||
|
||
let expected = 3; | ||
|
||
export { | ||
res, | ||
expected, | ||
} | ||
/* res Not a pure module */ |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.