-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #209 from MrMenezes/fix/new_line_save_win
Fixed bug of adding new lines when saving Sketch in Windowns
- Loading branch information
Showing
4 changed files
with
37 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@echo off | ||
|
||
IF /I "%1"=="test" GOTO test | ||
IF /I "%1"=="update_dist" GOTO update_dist | ||
IF /I "%1"=="upload_pypi" GOTO upload_pypi | ||
IF /I "%1"=="run_demo" GOTO run_demo | ||
GOTO error | ||
|
||
:test | ||
set PYTHONWARNINGS=ignore::flask.DeprecationWarning && pytest | ||
GOTO :EOF | ||
|
||
:update_dist | ||
@python3 setup.py sdist bdist_wheel | ||
GOTO :EOF | ||
|
||
:upload_pypi | ||
@twine upload dist/* | ||
GOTO :EOF | ||
|
||
:run_demo | ||
PUSHD docs/pyodide | ||
python -m http.server | ||
POPD | ||
GOTO :EOF | ||
|
||
:error | ||
IF "%1"=="" ( | ||
ECHO make: *** No targets specified and no makefile found. Stop. | ||
) ELSE ( | ||
ECHO make: *** No rule to make target '%1%'. Stop. | ||
) | ||
GOTO :EOF |
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