Hacker News new | ask | show | jobs
by madeofpalk 1238 days ago
If all you're doing is making one little html page and pushing it up with rsync, then just download the .css file into your folder and carry on.

The existance of other methods doesn't preclude you from doing it whatever way you want to. The CSS file is right there on github to download https://github.com/micah5/PSone.css/blob/master/PSone.css

1 comments

Yes but the original question is interesting: how do you make sure you're using the latest one ?

You could use the upstream URL, but that'd be a privacy issue.

You could proxy the upstream file, but that rules out static serving.

Maybe use a Makefile that fetches the last version and uses it ?

>Yes but the original question is interesting: how do you make sure you're using the latest one ?

You don't, because you're rendering a simple html page, and whatever minor changes are in the new version are largely irrelevant.

> Maybe use a Makefile that fetches the last version and uses it ?

That would be a package manager lol.

It does 80% of the job of a package manager with 20% of the complexity, I find that acceptable