Last active
January 2, 2020 02:06
-
-
Save dontlaugh/dd2cd39bb0269dd4c28fd3f599640470 to your computer and use it in GitHub Desktop.
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
define("nginx/mod", ["require", "exports"], function (require, exports) { | |
"use strict"; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
exports.NginxPackage = "nginx"; | |
}); | |
define("install-nginx-ubuntu", ["require", "exports", "nginx/mod"], function (require, exports, mod_ts_1) { | |
"use strict"; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
async function main() { | |
// Install nginx with apt | |
let opts = { | |
args: ["apt-get", "install", "-y", mod_ts_1.NginxPackage] | |
}; | |
let proc = await Deno.run(opts); | |
} | |
main(); | |
}); | |
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVuZGxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZmlsZTovLy9ob21lL2NtY2ZhcmxhbmQvZ28vc3JjL2dpdGh1Yi5jb20vZG9udGxhdWdoL3BhY2tlci1wcm92aXNpb25lci1kZW5vL2V4YW1wbGVzL2Rlbm8tc2NyaXB0cy9uZ2lueC9tb2QudHMiLCJmaWxlOi8vL2hvbWUvY21jZmFybGFuZC9nby9zcmMvZ2l0aHViLmNvbS9kb250bGF1Z2gvcGFja2VyLXByb3Zpc2lvbmVyLWRlbm8vZXhhbXBsZXMvZGVuby1zY3JpcHRzL2luc3RhbGwtbmdpbngtdWJ1bnR1LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztJQUVhLFFBQUEsWUFBWSxHQUFHLE9BQU8sQ0FBQzs7Ozs7SUNDcEMsS0FBSyxVQUFVLElBQUk7UUFDZix5QkFBeUI7UUFDekIsSUFBSSxJQUFJLEdBQUc7WUFDUCxJQUFJLEVBQUUsQ0FBQyxTQUFTLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxxQkFBWSxDQUFDO1NBQ25ELENBQUM7UUFDRixJQUFJLElBQUksR0FBRyxNQUFNLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDcEMsQ0FBQztJQUVELElBQUksRUFBRSxDQUFDIn0= |
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
import { NginxPackage } from './nginx/mod.ts' | |
async function main() { | |
// Install nginx with apt | |
let opts = { | |
args: ["apt-get", "install", "-y", NginxPackage] | |
}; | |
let proc = await Deno.run(opts); | |
} | |
main(); |
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
export const NginxPackage = "nginx"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment