Commit Graph

140 Commits

Author SHA1 Message Date
Christopher Monsanto
93c338e35c deploy/script: logentry obj : any --> unknown 2020-08-23 21:03:23 -04:00
Christopher Monsanto
34891a5e4b deploy: fix mocha test path 2020-08-23 20:56:38 -04:00
Christopher Monsanto
b900864e11 deploy: spritename uses map for extra 2020-08-23 20:56:38 -04:00
Christopher Monsanto
e98d42d0cf deploy: debug() on exception 2020-08-22 22:43:36 -04:00
Christopher Monsanto
3119d5dcb8 deploy: fix debug() 2020-08-22 22:34:54 -04:00
Christopher Monsanto
f6172a3012 Use mocha for testing 2020-08-22 03:00:00 -04:00
Christopher Monsanto
32ba2af711 data: don't expose Map directly 2020-08-21 06:43:37 -04:00
Christopher Monsanto
1293ff4799 deploy/script: add spritedata to env 2020-08-15 02:18:46 -04:00
Christopher Monsanto
d011df227b deploy/script: add debug() 2020-08-15 02:12:25 -04:00
Christopher Monsanto
2f45ec3b6d dumb typo 2020-08-14 06:25:37 -04:00
Christopher Monsanto
4176e86d21 deploy: buffer copy() errors 2020-08-14 06:23:46 -04:00
Christopher Monsanto
5cb88c94d2 deploy/script: copy() takes delta 2020-08-13 02:11:12 -04:00
Christopher Monsanto
5033364925 deploy: imply no act if -o not supplied 2020-08-13 02:02:19 -04:00
Christopher Monsanto
baf1564e4c deploy: remove aq.join/add output dir to print/describe/run 2020-08-13 01:35:14 -04:00
Christopher Monsanto
193d4e35b9 deploy: remove another nodePath reference 2020-08-12 06:24:56 -04:00
Christopher Monsanto
9f8f84b25c deploy: remove path.js dependency from cli 2020-08-10 05:43:44 -04:00
Christopher Monsanto
abc8a5e069 deploy: string interface for runOnFile 2020-08-10 05:41:42 -04:00
Christopher Monsanto
30ffa1f2d0 deploy: check that ActionQueue dst isnt absolute & no duplicates 2020-08-10 05:37:12 -04:00
Christopher Monsanto
1d9d10cf63 deploy: ActionQueue interfaces use strings instead of Path objects 2020-08-10 05:29:06 -04:00
Christopher Monsanto
830c0fadfc deploy: add vm.Script wrapper, remove fs dependency in index.ts 2020-08-10 03:46:21 -04:00
Christopher Monsanto
8fb0f51b8f deploy: add ActionQueue::join 2020-08-09 06:12:36 -04:00
Christopher Monsanto
10c0ddd27d deploy: deploy -> run 2020-08-09 06:06:21 -04:00
Christopher Monsanto
fca3bd0ca3 deploy: add ActionQueue::print 2020-08-09 05:59:21 -04:00
Christopher Monsanto
7b9373d3c7 deploy/script: add small test for run() 2020-08-08 05:43:50 -04:00
Christopher Monsanto
e625489c45 deploy/script: fix bad prototype interaction with Env/contextify 2020-08-08 05:43:22 -04:00
Christopher Monsanto
b45cf9b43c deploy/test: ignore dist/ 2020-08-08 04:45:06 -04:00
Christopher Monsanto
24edce9b94 deploy/script: factor out more cli logic into runOnFile 2020-08-08 04:41:13 -04:00
Christopher Monsanto
e33c041f79 deploy: setup ts-jest + basic test 2020-08-08 03:50:56 -04:00
Christopher Monsanto
623f8290c4 deploy: add scriptname to env 2020-08-07 05:27:10 -04:00
Christopher Monsanto
80c00d6eba deploy: ignore dir in input to copy 2020-08-07 05:19:38 -04:00
Christopher Monsanto
9bc86aefe8 deploy: comment out -t 2020-08-07 05:00:11 -04:00
Christopher Monsanto
8416e8d445 deploy: force evaluation context for parsing -e 2020-08-07 04:34:10 -04:00
Christopher Monsanto
3e3a6dd40c deploy: name result 2020-08-07 04:34:10 -04:00
Christopher Monsanto
5661d5e1e9 deploy: add -n/--no-act to copy() 2020-08-07 04:34:10 -04:00
Christopher Monsanto
43b75ae5ac deploy: -o is required, make copy() relative to outputDir 2020-08-07 04:34:10 -04:00
Christopher Monsanto
1032980d1f deploy: fix ActionQueue.run() 2020-08-07 04:34:10 -04:00
Christopher Monsanto
e5812e2da0 deploy: use actionqueue/script for copy cli 2020-08-07 04:34:10 -04:00
Christopher Monsanto
49c5f5a873 deploy: add script.ts (replacement for lang.js) 2020-08-07 04:34:10 -04:00
Christopher Monsanto
a02fd9231f deploy: add join() 2020-08-07 04:34:10 -04:00
Christopher Monsanto
e7c61afd39 deploy: hookup new path functions to import (now copy) 2020-08-07 04:34:10 -04:00
Christopher Monsanto
7c9a4fa4ac deploy: import -> copy 2020-08-07 04:34:10 -04:00
Christopher Monsanto
e7e3d9bc3c deploy: spritedata take 2 (spritename) 2020-08-07 04:34:10 -04:00
Christopher Monsanto
1d8a4d2379 deploy: path take 2 2020-08-07 04:34:10 -04:00
Christopher Monsanto
e2c53ffe77 deploy: SpriteData first pass 2020-08-07 04:34:10 -04:00
Christopher Monsanto
9946c12190 deploy: basic Path class 2020-08-07 04:34:10 -04:00
Christopher Monsanto
dab36f0771 deploy: import first pass 2020-08-07 04:34:10 -04:00
Christopher Monsanto
ca17fcd6e1 deploy: allow link to copy() 2020-08-07 04:34:10 -04:00
Christopher Monsanto
2a85d665bd deploy: set dist entry point 2020-08-07 04:34:10 -04:00
Christopher Monsanto
dcd986f9e6 ts sheet 2020-08-07 04:34:10 -04:00
Christopher Monsanto
dca677d52d ts tupctime 2020-08-07 04:34:10 -04:00
Christopher Monsanto
ad51a0464b ts trim 2020-08-07 04:34:10 -04:00
Christopher Monsanto
6f27c6689a ts deflopt 2020-08-07 04:34:09 -04:00
Christopher Monsanto
c0c107c9d1 tsc in npm prepare 2020-08-07 04:34:09 -04:00
Christopher Monsanto
b11b520a38 deploy: TS index 2020-08-07 04:34:09 -04:00
Christopher Monsanto
e38fc0155a deploy: add @smogon/sprite-data dependency 2020-08-07 04:34:09 -04:00
Christopher Monsanto
aef7a18e4a deploy: TS find/deploy 2020-08-07 04:34:09 -04:00
Christopher Monsanto
eda260977f deploy: add tsconfig 2020-08-07 04:34:09 -04:00
Christopher Monsanto
84f4a38178 add tools/trim 2020-06-16 01:24:30 -04:00
Christopher Monsanto
ea2b48e77f Allow gaps in sheets 2020-05-09 07:36:28 -04:00
Christopher Monsanto
39eec46241 tools/ps-sheet -> tools/sheet, take js sheet spec as arg 2020-05-09 06:04:47 -04:00
Christopher Monsanto
c07d28b017 ps-trainers-sheet -> ps-sheet 2020-05-08 13:36:51 -04:00
Christopher Monsanto
a20aa81a15 ps trainer sheet generation 2020-05-08 11:14:58 -04:00
Christopher Monsanto
b7e4b327fe deploy/util -> spritepath 2020-05-08 09:50:14 -04:00
Christopher Monsanto
4a85087df6 deploy: refactor fs encode/decode 2020-05-08 09:45:14 -04:00
Christopher Monsanto
5737d672a3 Rename -- to -, - to ~ (deploy, README) 2020-05-07 18:10:29 -04:00
Christopher Monsanto
6c08748be3 deploy: parseInt num/formeNum 2020-05-07 09:28:19 -04:00
Christopher Monsanto
fafe740461 Update deploy to new pokemon naming scheme 2020-05-07 09:13:40 -04:00
Christopher Monsanto
c1d3a87133 deploy: overwrite => ignore 2020-05-06 01:45:56 -04:00
Christopher Monsanto
b4004eb571 deploy: baseName -> basename
guess I should move this to typescript at some point
2020-05-01 20:11:28 -04:00
Christopher Monsanto
37f9df003b Optimize tools/deflopt slightly 2020-05-01 07:53:00 -04:00
Christopher Monsanto
a7aec16803 Remove debug output from tools/deflopt
This is on the hot path. Revert this commit if debugging is needed.
2020-05-01 07:46:04 -04:00
Christopher Monsanto
b496612b03 Add support for DeflOpt
- fuse and wine do not get along.

- This is the absolute final release of DeflOpt, and it is only
accessible in binary form via archive.org, so we vendored it.
2020-05-01 07:38:36 -04:00
Christopher Monsanto
cd72b55c61 tupctime: use modules 2020-05-01 02:44:52 -04:00
Christopher Monsanto
653b4284f8 Deploy DSL, take 3 2020-04-30 21:48:11 -04:00
Christopher Monsanto
fc54681959 tupctime: make directory optional 2020-04-30 07:41:52 -04:00
Christopher Monsanto
ca2a008ce2 fix deploy bug 2020-04-30 05:44:42 -04:00
Christopher Monsanto
c38c14e660 More pad refactoring 2020-04-30 04:34:03 -04:00
Christopher Monsanto
8e8235f455 Remove compression & switch to imagick 7
Will chain with `compresspng` in lua, easier to set optimization
settings in tup config
2020-04-30 04:25:56 -04:00
Christopher Monsanto
1fd106b0c6 Deploy refactor 2020-04-30 02:32:40 -04:00
Christopher Monsanto
6751557401 Start of Smogon deploy 2020-04-30 01:09:55 -04:00
Christopher Monsanto
636b9408cc gendeploy mini-language, move more of PS to gendeploy 2020-04-29 23:29:16 -04:00
Christopher Monsanto
dcfbe0cfe0 Add gendeploy script 2020-04-29 07:44:09 -04:00
Christopher Monsanto
4f4b19a4b6 Add deploy utility 2020-04-29 07:43:08 -04:00
Christopher Monsanto
7316c0573e Add tupctime utility 2020-04-29 07:41:40 -04:00
Christopher Monsanto
a3d234a227 Encode space as _, change escape to __ 2020-04-16 19:03:01 -04:00
Christopher Monsanto
2446302997 Proof-of-concept PS spritesheet generation 2020-04-16 02:49:01 -04:00
Christopher Monsanto
5ba2e316e4 Add PS spritesheet generator tool 2020-04-16 02:08:29 -04:00
Christopher Monsanto
052e563d3f Add forum pokemon minisprites build 2020-04-14 17:17:36 -04:00
Christopher Monsanto
801c27cc2d Silence, advpng 2020-04-13 03:36:04 -04:00
Christopher Monsanto
6da52b8764 Add smogdex social builds 2020-04-13 03:24:52 -04:00