Code Monkey home page Code Monkey logo

Comments (8)

j7b avatar j7b commented on June 15, 2024

Sure, could also package to npm and use the npm cdn's.

from ebiten-playground.github.io.

hajimehoshi avatar hajimehoshi commented on June 15, 2024

.a files are just binaries, so I'm not sure they can be a npm package.

from ebiten-playground.github.io.

j7b avatar j7b commented on June 15, 2024

Maybe a good approach is to build jsplayground.js and pkg to a gh-pages branch somewhere (here or mine) committed with --force to squash it, I think travis supports that.

from ebiten-playground.github.io.

hajimehoshi avatar hajimehoshi commented on June 15, 2024

My suggestion is to create a completely different GitHub repository. gh-pages branch is a little confusing as my experience. Actually example js files for Ebiten are in https://github.com/hajimehoshi/ebiten.pagestorage .

from ebiten-playground.github.io.

j7b avatar j7b commented on June 15, 2024

I need to figure out the ci story for jsplayground and add a couple things, then the artifacts and additionals can live somewhere else pretty easily.

from ebiten-playground.github.io.

hajimehoshi avatar hajimehoshi commented on June 15, 2024

For testing, an argument or a command line or an environment variable to specify pkg location would work in CI. I guess you want to do integrated test from generating pkg to the playground, right?

from ebiten-playground.github.io.

j7b avatar j7b commented on June 15, 2024

yep so far testing at https://github.com/j7b/citesting and pretty happy with how that .travis.yml works, was thinking to make repo ebiten-playground/js and putting jsplayground.js and pkg in it in gh-pages and you could put hook on ebiten repo so it'll rebuild on push or release, probably push would be best

from ebiten-playground.github.io.

hajimehoshi avatar hajimehoshi commented on June 15, 2024

Great!

One question (probably I've already asked): I feel like gopherjs install github.com/j7b/jsplayground should be gopherjs build -m -o jsplayground.js github.com/j7b/jsplayground and moving the file.

from ebiten-playground.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.