-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 #50 from Yutsuten/anki21
Remove Anki 2.0 support
- Loading branch information
Showing
4 changed files
with
11 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,9 @@ | ||
all: prepare build cleanup | ||
all: prepare build | ||
|
||
prepare: | ||
rm -rf dist/* tmp/* | ||
rm -rf dist/* | ||
find lifedrain -name __pycache__ -type d -exec rm -r {} + | ||
mkdir -p dist tmp | ||
mkdir -p dist | ||
|
||
build: build20 build21 | ||
|
||
build20: | ||
echo -n "import lifedrain" > tmp/lifedrain_loader.py | ||
cp -r lifedrain tmp/lifedrain | ||
(cd tmp && zip -r ../dist/lifedrain20.zip * -x "*.pyc") | ||
|
||
build21: | ||
build: | ||
(cd lifedrain && zip -r ../dist/lifedrain21.zip * -x "*.pyc") | ||
|
||
cleanup: | ||
rm -rf tmp/* |
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