Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created July 27, 2015 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadzik/42d8d8691004d57fe12b to your computer and use it in GitHub Desktop.
Save tadzik/42d8d8691004d57fe12b to your computer and use it in GitHub Desktop.
┌─[tadzik@ubuntu]─[~]
└─[%]─> npm install typescript
npm http GET https://registry.npmjs.org/typescript
npm http 304 https://registry.npmjs.org/typescript
typescript@1.5.3 node_modules/typescript
┌─[tadzik@ubuntu]─[~]
└─[%]─> cd node_modules/typescript/bin
┌─[tadzik@ubuntu]─[~/node_modules/typescript/bin]
└─[%]─> cat tsc
#!/usr/bin/env node
require('./tsc.js')
┌─[tadzik@ubuntu]─[~/node_modules/typescript/bin]
└─[%]─> head tsc.js
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
┌─[tadzik@ubuntu]─[~/node_modules/typescript/bin]
└─[%]─> md5sum tsc.js
9a25b72be218eba7bed978b7a7c1f74c tsc.js
┌─[tadzik@ubuntu]─[~/node_modules/typescript/bin]
└─[%]─> ./tsc
┌─[tadzik@ubuntu]─[~/node_modules/typescript/bin]
└─[%]─> ./tsc --help
┌─[tadzik@ubuntu]─[~/node_modules/typescript/bin]
└─[%]─> echo $?
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment